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