src/ParentNodeTrait.php
public function children()
    {
        if ($this->collection === null) {
            $this->initializeCollection($this->defaultChildren());
        }

        return $this->collection;
    }
public function children()
    {
        if ($this->collection === null) {
            $this->initializeCollection($this->defaultChildren());
        }

        return $this->collection;
    }
public function children ( ) { if ( $ this -> collection === null ) { $ this -> initializeCollection ( $ this -> defaultChildren ( ) ) ; } return $ this -> collection ; }
Returns collection of child nodes.

@return \Nayjest\Collection\CollectionInterface|ChildNodeInterface[]
Returns collection of child nodes .