コード例 #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;
 }