private function checkParameters($bundle, $controller, $action)
    {
        $application = $this->_renderer->getApplication();

        $bundleController = (new BundleControllerResolver($application))->resolve($bundle, $controller);

        if (!method_exists($bundleController, $action.'Action')) {
            throw new \BadMethodCallException($bundleController.' doesn\'t have '.$action.'Action method', 1);
        }
    }
private function checkParameters($bundle, $controller, $action)
    {
        $application = $this->_renderer->getApplication();

        $bundleController = (new BundleControllerResolver($application))->resolve($bundle, $controller);

        if (!method_exists($bundleController, $action.'Action')) {
            throw new \BadMethodCallException($bundleController.' doesn\'t have '.$action.'Action method', 1);
        }
    }
private function checkParameters ( $ bundle , $ controller , $ action ) { $ application = $ this -> _renderer -> getApplication ( ) ; $ bundleController = ( new BundleControllerResolver ( $ application ) ) -> resolve ( $ bundle , $ controller ) ; if ( ! method_exists ( $ bundleController , $ action . 'Action' ) ) { throw new \ BadMethodCallException ( $ bundleController . ' doesn\'t have ' . $ action . 'Action method' , 1 ) ; } }
Check if each parameters are correctly setted

@param  string $bundle       bundle name
@param  string $controller   controller name
@param  string $action       action name

@throws Exception            Bad configuration
Check if each parameters are correctly setted