setInstance() public static method

public static setInstance ( Gpf_HttpResponse $instance )
$instance Gpf_HttpResponse
示例#1
0
 public function onStart()
 {
     $this->info('HTTP server ' . $this->serverName . ' has been started');
     Gpf_Http::setInstance($this);
 }