src/Connection.php
public function freeChannel($id)
    {
        if (!is_int($id)) {
            throw new \InvalidArgumentException();
        }

        unset($this->channels[$id]);
        unset($this->handlers[$id]);
        return $this;
    }
public function freeChannel($id)
    {
        if (!is_int($id)) {
            throw new \InvalidArgumentException();
        }

        unset($this->channels[$id]);
        unset($this->handlers[$id]);
        return $this;
    }
public function freeChannel ( $ id ) { if ( ! is_int ( $ id ) ) { throw new \ InvalidArgumentException ( ) ; } unset ( $ this -> channels [ $ id ] ) ; unset ( $ this -> handlers [ $ id ] ) ; return $ this ; }
Free a channel allocation.

\param int $id
Channel identifier.

\retval Connection
Returns this connection.
Free a channel allocation .