protected function ensureChannelParameter($parameters)
    {
        if (!isset($parameters['channel']) || strlen($parameters['channel']) == 0)
            $parameters['channel'] = $this->configuration->getChannel();
    }
protected function ensureChannelParameter($parameters)
    {
        if (!isset($parameters['channel']) || strlen($parameters['channel']) == 0)
            $parameters['channel'] = $this->configuration->getChannel();
    }
protected function ensureChannelParameter ( $ parameters ) { if ( ! isset ( $ parameters [ 'channel' ] ) || strlen ( $ parameters [ 'channel' ] ) == 0 ) $ parameters [ 'channel' ] = $ this -> configuration -> getChannel ( ) ; }
Ensures that the passed parameters object has a "channel" parameter by
adding one if necessary.
@param Parameters $parameters Parameters to be modifier.
Ensures that the passed parameters object has a channel parameter by adding one if necessary .