original_string: protected function initPaginator()
      {
          $this->paginator = $this->grid->model()->eloquent();
  
          if ($this->paginator instanceof LengthAwarePaginator) {
              $this->paginator->appends(Input::all());
          }
      }
code: protected function initPaginator()
      {
          $this->paginator = $this->grid->model()->eloquent();
  
          if ($this->paginator instanceof LengthAwarePaginator) {
              $this->paginator->appends(Input::all());
          }
      }
code_tokens: protected function initPaginator ( ) { $ this -> paginator = $ this -> grid -> model ( ) -> eloquent ( ) ; if ( $ this -> paginator instanceof LengthAwarePaginator ) { $ this -> paginator -> appends ( Input :: all ( ) ) ; } }
docstring: Initialize work for Paginator.
  
  @return void
docstring_tokens: Initialize work for Paginator .