original_string: public function forPageBeforeId($perPage = 15, $lastId = 0, $column = 'id')
      {
          $this->orders = $this->removeExistingOrdersFor($column);
  
          if (! is_null($lastId)) {
              $this->where($column, '<', $lastId);
          }
  
          return $this->orderBy($column, 'desc')
                      ->take($perPage);
      }
code: public function forPageBeforeId($perPage = 15, $lastId = 0, $column = 'id')
      {
          $this->orders = $this->removeExistingOrdersFor($column);
  
          if (! is_null($lastId)) {
              $this->where($column, '<', $lastId);
          }
  
          return $this->orderBy($column, 'desc')
                      ->take($perPage);
      }
code_tokens: public function forPageBeforeId ( $ perPage = 15 , $ lastId = 0 , $ column = 'id' ) { $ this -> orders = $ this -> removeExistingOrdersFor ( $ column ) ; if ( ! is_null ( $ lastId ) ) { $ this -> where ( $ column , '<' , $ lastId ) ; } return $ this -> orderBy ( $ column , 'desc' ) -> take ( $ perPage ) ; }
docstring: Constrain the query to the previous "page" of results before a given ID.
  
  @param  int  $perPage
  @param  int|null  $lastId
  @param  string  $column
  @return \Illuminate\Database\Query\Builder|static
docstring_tokens: Constrain the query to the previous page of results before a given ID .