protected function fetchConfiguration($parameter)
    {
        $configuration = $this->configurationRepository->fetchParameter($parameter);
        if (null === $configuration) {
            $exception = array(
                'message' => 'exception_parameter_does_not_exist',
                'parameters' => array(
                    '%parameter%' => $parameter,
                ),
            );
            throw new InvalidArgumentException(json_encode($exception));
        }

        return $configuration;
    }
protected function fetchConfiguration($parameter)
    {
        $configuration = $this->configurationRepository->fetchParameter($parameter);
        if (null === $configuration) {
            $exception = array(
                'message' => 'exception_parameter_does_not_exist',
                'parameters' => array(
                    '%parameter%' => $parameter,
                ),
            );
            throw new InvalidArgumentException(json_encode($exception));
        }

        return $configuration;
    }
protected function fetchConfiguration ( $ parameter ) { $ configuration = $ this -> configurationRepository -> fetchParameter ( $ parameter ) ; if ( null === $ configuration ) { $ exception = array ( 'message' => 'exception_parameter_does_not_exist' , 'parameters' => array ( '%parameter%' => $ parameter , ) , ) ; throw new InvalidArgumentException ( json_encode ( $ exception ) ) ; } return $ configuration ; }
Fetches the configuration record for the requested parameter

@param  string                                              $parameter
@return \RedKiteLabs\RedKiteCms\RedKiteCmsBundle\Model\Configuration
@throws InvalidArgumentException
Fetches the configuration record for the requested parameter