src/BeeTree/Eloquent/ActAsEloquentNode.php
public function getChildren()
    {
        if (isset($this->relations['children'])) {
            return $this->relations['children'];
        }

        $children = $this->getAttribute('children');

        return $children === null ? [] : $children;
    }
public function getChildren()
    {
        if (isset($this->relations['children'])) {
            return $this->relations['children'];
        }

        $children = $this->getAttribute('children');

        return $children === null ? [] : $children;
    }
public function getChildren ( ) { if ( isset ( $ this -> relations [ 'children' ] ) ) { return $ this -> relations [ 'children' ] ; } $ children = $ this -> getAttribute ( 'children' ) ; return $ children === null ? [ ] : $ children ; }
Returns the childs of this node

@return \BeeTree\Contracts\Children
Returns the childs of this node