public function begin($state) { parent::begin($state); // Do begin stuff $this->upgrade_transport = 'WebsocketTransport'; }