Zend\Navigation\Page\Mvc::setRoute
Sets route name to use when assembling URL
Signature
public function setRoute(string
$route )
Parameters
$route
— string- route name to use when assembling URL
Returns
- Mvc
- fluent interface, returns self
Errors/Exceptions
-
InvalidArgumentException
- if invalid $route is given