fromRoute(string $route, array $params, array | bool $options, bool $reuseMatchedParams) : string
stringRouteInterface name
arrayParameters to use in url generation, if any
arrayboolRouteInterface-specific options to use in url generation, if any. If boolean, and no fourth argument, used as $reuseMatchedParams
boolWhether to reuse matched parameters
\Zend\Mvc\Exception\DomainException |
if composed controller does not implement InjectApplicationEventInterface, or router cannot be found in controller event |
|---|---|
\Zend\Mvc\Exception\RuntimeException |
if no RouteMatch instance or no matched route name present |
stringgetController() : null | \Zend\Stdlib\DispatchableInterface
| inherited_from | \Zend\Mvc\Controller\Plugin\AbstractPlugin::getController() |
|---|
setController(\Zend\Stdlib\DispatchableInterface $controller) : void
| inherited_from | \Zend\Mvc\Controller\Plugin\AbstractPlugin::setController() |
|---|
\Zend\Stdlib\DispatchableInterface
$controller : null | \Zend\Stdlib\DispatchableInterface
| inherited_from | \Zend\Mvc\Controller\Plugin\AbstractPlugin::$$controller |
|---|