示例#1
0
文件: Client.php 项目: vsmoraes/aegir
 public function __construct($socket, Server $server)
 {
     $this->socket = $socket;
     $this->server_confs = ['host' => $server->getHost(), 'port' => $server->getPort()];
 }
示例#2
0
文件: Aegir.php 项目: vsmoraes/aegir
 public function __construct($host, $port, $debug)
 {
     parent::__construct($host, $port, $debug);
     $this->registerEvents();
     return $this;
 }