/** * @param string $event */ public function removeAllListeners($event = null) { if ($event !== null) { if (isset($this->listeners[$event])) { unset($this->listeners[$event]); $this->client->getWsClient()->removeAllListeners($event); } } else { foreach ($this->listeners as $event => $listeners) { $this->client->getWsClient()->removeAllListeners($event); } $this->listeners = []; } }
/** * @return Sounds */ public function sounds() { return $this->ariClient->sounds(); }