Zend\View\Helper\Navigation\Menu::setOnlyActiveBranch
Sets a flag indicating whether only active branch should be rendered
Signature
public function setOnlyActiveBranch([bool
$flag = true] )
Parameters
$flag
— object- [optional] render only active branch.
Returns
- self