src/ORM/Hierarchy/MarkedSet.php
public function markClosed(DataObject $node)
    {
        $id = $node->ID ?: 0;
        $this->markedNodes[$id] = $node;
        unset($this->treeOpened[$id]);
        return $this;
    }
public function markClosed(DataObject $node)
    {
        $id = $node->ID ?: 0;
        $this->markedNodes[$id] = $node;
        unset($this->treeOpened[$id]);
        return $this;
    }
public function markClosed ( DataObject $ node ) { $ id = $ node -> ID ? : 0 ; $ this -> markedNodes [ $ id ] = $ node ; unset ( $ this -> treeOpened [ $ id ] ) ; return $ this ; }
Mark this DataObject's tree as closed.

@param DataObject $node
@return $this
Mark this DataObject s tree as closed .