fromRoute(string $route, array $params, array | bool $options, bool $reuseMatchedParams) : string
string
RouteInterface name
array
Parameters to use in url generation, if any
arraybool
RouteInterface-specific options to use in url generation, if any. If boolean, and no fourth argument, used as $reuseMatchedParams
bool
Whether 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 |
string
getController() : 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 |
---|