Zend\View\Helper\Navigation\HelperInterface::setRole
Sets ACL role to use when iterating pages
Signature
public function setRole([mixed
$role = null] )
Parameters
$role
— mixed- [optional] role to set. Expects a string, an
instance of type , or null. Default
is null.
Returns
- HelperInterface
Errors/Exceptions
-
ExceptionInterface
- if $role is invalid