original_string: public function getPublishedPositionOrderedChildren($perPage = null)
      {
          $children = $this->children()
              ->published()
              ->defaultOrder();
  
          return $this->determineChildrenPagination($perPage, $children);
      }
code: public function getPublishedPositionOrderedChildren($perPage = null)
      {
          $children = $this->children()
              ->published()
              ->defaultOrder();
  
          return $this->determineChildrenPagination($perPage, $children);
      }
code_tokens: public function getPublishedPositionOrderedChildren ( $ perPage = null ) { $ children = $ this -> children ( ) -> published ( ) -> defaultOrder ( ) ; return $ this -> determineChildrenPagination ( $ perPage , $ children ) ; }
docstring: Returns all published children position ordered
  
  @param int|null $perPage
  @return Collection|LengthAwarePaginator
docstring_tokens: Returns all published children position ordered