protected function ensureChannelParameter($parameters) {
        if ((!isset($parameters['channel'])
            || $parameters['channel'] == '')
            && $this->configuration->getChannel() != ''
        ) {
            $parameters['channel'] = $this->configuration->getChannel();
        }
    }
protected function ensureChannelParameter($parameters) {
        if ((!isset($parameters['channel'])
            || $parameters['channel'] == '')
            && $this->configuration->getChannel() != ''
        ) {
            $parameters['channel'] = $this->configuration->getChannel();
        }
    }
protected function ensureChannelParameter ( $ parameters ) { if ( ( ! isset ( $ parameters [ 'channel' ] ) || $ parameters [ 'channel' ] == '' ) && $ this -> configuration -> getChannel ( ) != '' ) { $ parameters [ 'channel' ] = $ this -> configuration -> getChannel ( ) ; } }
If no channel is set, try to fill it from configuration data.

@param FACTFinder\Util\Parameters $parameters The parameters object to
check.
If no channel is set try to fill it from configuration data .