Esempio n. 1
0
 public function __construct($socket, Server $server)
 {
     $this->socket = $socket;
     $this->server_confs = ['host' => $server->getHost(), 'port' => $server->getPort()];
 }
Esempio n. 2
0
 public function __construct($host, $port, $debug)
 {
     parent::__construct($host, $port, $debug);
     $this->registerEvents();
     return $this;
 }