Zend\Mvc\View\Http\RouteNotFoundStrategy::injectController
Inject the controller and controller class into the model
If either $displayExceptions or $displayNotFoundReason are enabled, injects the controllerClass from the MvcEvent. It checks to see if a controller is present in the MvcEvent, and, if not, grabs it from the route match if present; if a controller is found, it injects it into the model.
Signature
Parameters
$model
— object
$e
— object
Returns
- void