protected function missingController($request)
    {
        throw new MissingControllerException([
            'class' => $request->getParam('controller'),
            'plugin' => $request->getParam('plugin'),
            'prefix' => $request->getParam('prefix'),
            '_ext' => $request->getParam('_ext')
        ]);
    }
protected function missingController($request)
    {
        throw new MissingControllerException([
            'class' => $request->getParam('controller'),
            'plugin' => $request->getParam('plugin'),
            'prefix' => $request->getParam('prefix'),
            '_ext' => $request->getParam('_ext')
        ]);
    }
protected function missingController ( $ request ) { throw new MissingControllerException ( [ 'class' => $ request -> getParam ( 'controller' ) , 'plugin' => $ request -> getParam ( 'plugin' ) , 'prefix' => $ request -> getParam ( 'prefix' ) , '_ext' => $ request -> getParam ( '_ext' ) ] ) ; }
Throws an exception when a controller is missing.

@param \Cake\Http\ServerRequest $request The request.
@throws \Cake\Routing\Exception\MissingControllerException
@return void
Throws an exception when a controller is missing .