Zend\Mvc\ModuleRouteListener::onRoute
Listen to the "route" event and determine if the module namespace should be prepended to the controller name.
If the route match contains a parameter key matching the MODULE_NAMESPACE constant, that value will be prepended, with a namespace separator, to the matched controller parameter.
Signature
public function onRoute(MvcEvent
$e )
Parameters
$e
— Zend\Mvc\MvcEvent
Returns
- null