src/View/Helper/Hierarchy.php
public function render(HierarchyInterface $node = null, $criteria = null, $options = [], $includeNode = null)
    {
        return $this->getMapper()->childrenHierarchy(
            $node, // if node is null starting from root nodes
            null === $criteria ? $this->direct() : $criteria, // true: load all children, false: only direct, array: criteria
            array_replace_recursive($this->getOptions(), $options),
            null === $includeNode ? $this->includeNode() : $includeNode
        );
    }
public function render(HierarchyInterface $node = null, $criteria = null, $options = [], $includeNode = null)
    {
        return $this->getMapper()->childrenHierarchy(
            $node, // if node is null starting from root nodes
            null === $criteria ? $this->direct() : $criteria, // true: load all children, false: only direct, array: criteria
            array_replace_recursive($this->getOptions(), $options),
            null === $includeNode ? $this->includeNode() : $includeNode
        );
    }
public function render ( HierarchyInterface $ node = null , $ criteria = null , $ options = [ ] , $ includeNode = null ) { return $ this -> getMapper ( ) -> childrenHierarchy ( $ node , // if node is null starting from root nodes null === $ criteria ? $ this -> direct ( ) : $ criteria , // true: load all children, false: only direct, array: criteria array_replace_recursive ( $ this -> getOptions ( ) , $ options ) , null === $ includeNode ? $ this -> includeNode ( ) : $ includeNode ) ; }
Render node's hierarchy

@param HierarchyInterface $node
@param array|bool $criteria
@param array $options
@param bool $includeNode
@return string
Render node s hierarchy