original_string: public static function all($perPage = -1, $orderby = 'menu_order', $order = 'ASC')
      {
          $order = strtoupper($order);
  
          $args = [
              'posts_per_page' => $perPage,
              'orderby'       => $orderby,
              'order'         => $order,
          ];
  
          return static::query($args);
      }
code: public static function all($perPage = -1, $orderby = 'menu_order', $order = 'ASC')
      {
          $order = strtoupper($order);
  
          $args = [
              'posts_per_page' => $perPage,
              'orderby'       => $orderby,
              'order'         => $order,
          ];
  
          return static::query($args);
      }
code_tokens: public static function all ( $ perPage = - 1 , $ orderby = 'menu_order' , $ order = 'ASC' ) { $ order = strtoupper ( $ order ) ; $ args = [ 'posts_per_page' => $ perPage , 'orderby' => $ orderby , 'order' => $ order , ] ; return static :: query ( $ args ) ; }
docstring: Get all posts of this type
  
  @param  integer $perPage The number of items to return (defaults to all)
  @return Illuminate\Support\Collection
docstring_tokens: Get all posts of this type