Zend\Mvc\Controller\Plugin\Forward::dispatch
Dispatch another controller
Signature
public function dispatch(string
$name,
[array
$params = null] )
Parameters
$name
— string- Controller name; either a class name or an alias used in the controller manager
$params
— array- Parameters with which to seed a custom RouteMatch object for the new controller
Returns
- mixed
Errors/Exceptions
-
DomainException
- if composed controller does not define InjectApplicationEventInterface