Example #1
0
 public function init()
 {
     parent::init();
     $this->pidfile = Angel::app()->runtimePath . DIRECTORY_SEPARATOR . "socket_server.pid";
     $this->logfile = Angel::app()->runtimePath . DIRECTORY_SEPARATOR . "socket_server.log";
 }
Example #2
0
 public function init()
 {
     parent::init();
     $this->start();
     register_shutdown_function([$this, 'close']);
 }
Example #3
0
File: View.php Project: aoyel/angel
 public function init()
 {
     parent::init();
 }
Example #4
0
 public function init()
 {
     parent::init();
     $this->filterRequest();
 }