public static setInstance ( Gpf_HttpResponse $instance ) | ||
$instance | Gpf_HttpResponse |
public static function setInstance(Gpf_HttpResponse $instance)
{
self::$instance = $instance;
}
public function onStart() { $this->info('HTTP server ' . $this->serverName . ' has been started'); Gpf_Http::setInstance($this); }