Zend\Navigation\AbstractContainer::hasPage
Checks if the container has the given page
Signature
public function hasPage(AbstractPage
$page,
[bool
$recursive = false] )
Parameters
$page
— Zend\Navigation\Page\AbstractPage- page to look for
$recursive
— object- [optional] whether to search recursively.
Default is false.
Returns
- bool
- whether page is in container