Zend\View\Helper\Navigation\AbstractHelper::setMaxDepth
Sets the maximum depth a page can have to be included when rendering
Signature
public function setMaxDepth([int
$maxDepth = null] )
Parameters
$maxDepth
— int- Default is null, which sets no maximum depth.
Returns
- AbstractHelper