private function autoSetChannel($basename)
    {
        $channel = sprintf($basename, $this->client->getId());
        $this->setChannel($channel);
    }
private function autoSetChannel($basename)
    {
        $channel = sprintf($basename, $this->client->getId());
        $this->setChannel($channel);
    }
private function autoSetChannel ( $ basename ) { $ channel = sprintf ( $ basename , $ this -> client -> getId ( ) ) ; $ this -> setChannel ( $ channel ) ; }
Set the channel name based on the basename given in the constructor

@param string $channel
Set the channel name based on the basename given in the constructor