public function close()
    {
        $outputFrame = ProtocolChannel\ChannelCloseFrame::create(
            0,//@todo replyCode
            'Channel closed by client'
        );
        $outputFrame->frameChannelId = $this->id;
        $this->connection->command($outputFrame);
    }
public function close()
    {
        $outputFrame = ProtocolChannel\ChannelCloseFrame::create(
            0,//@todo replyCode
            'Channel closed by client'
        );
        $outputFrame->frameChannelId = $this->id;
        $this->connection->command($outputFrame);
    }
public function close ( ) { $ outputFrame = ProtocolChannel \ ChannelCloseFrame :: create ( 0 , //@todo replyCode 'Channel closed by client' ) ; $ outputFrame -> frameChannelId = $ this -> id ; $ this -> connection -> command ( $ outputFrame ) ; }
Close the channel.

@throws \InvalidArgumentException
@throws \PHPDaemon\Clients\AMQP\Driver\Protocol\Exception\AMQPProtocolException
Close the channel .