src/Node.php
public function getPositionOrderedChildren($perPage = null)
    {
        $children = $this->children()
            ->defaultOrder();

        return $this->determineChildrenPagination($perPage, $children);
    }
public function getPositionOrderedChildren($perPage = null)
    {
        $children = $this->children()
            ->defaultOrder();

        return $this->determineChildrenPagination($perPage, $children);
    }
public function getPositionOrderedChildren ( $ perPage = null ) { $ children = $ this -> children ( ) -> defaultOrder ( ) ; return $ this -> determineChildrenPagination ( $ perPage , $ children ) ; }
Returns all children ordered by position

@param int|null $perPage
@return Collection|LengthAwarePaginator
Returns all children ordered by position