public function __construct($address, $port) { $this->setPlayerContainer(new \Container\Player()); $this->setMapContainer(new \Container\Map()); $this->commandee = new \Main\Commandee(); parent::__construct($address, $port); }
function __construct($address, $port) { global $infotv; $this->listened = array(); $this->modules = array(); $this->modules["slides"] = new infotv_slides_module($this); add_option($infotv->prefix . "websocket_status", 2); parent::__construct($address, $port); }
public function __construct($url, $adminKey) { parent::__construct($url); $this->adminKey = $adminKey; $this->addHeader("Admin-Key", $adminKey); }