public function bind(Client $client, ConnectionManager $cm)
    {
        $this->client = $client;
        $this->connectionManager = $cm;
        $this->bindMethods([
            'irc.sent' => 'onIrcSent',
            'irc.received' => 'onIrcReceived',
            'irc.tick' => 'onIrcTick',
            'connect.end' => 'onConnectEnd',
            'connect.error' => 'onConnectError',
            'connect.before.each' => 'onConnectBeforeEach',
            'connect.after.each'  => 'onConnectAfterEach'
        ]);
    }