original_string: public function pagination($perPage = 15)
      {
  
          $currentPageFinder = Paginator::getCurrentPageFinder();
          $pathFinder = Paginator::getRequestPathFinder();
  
  
          $pagination = new Paginator($perPage, call_user_func($currentPageFinder), [
              'pageName' => 'page',
              'path' => call_user_func($pathFinder),
          ]);
  
          $pagination->setMode(Paginator::MODE_STANDART);
          $count = $this->build()->rowCount();
  
          $pagination->count($count);
  
          return $pagination;
      }
code: public function pagination($perPage = 15)
      {
  
          $currentPageFinder = Paginator::getCurrentPageFinder();
          $pathFinder = Paginator::getRequestPathFinder();
  
  
          $pagination = new Paginator($perPage, call_user_func($currentPageFinder), [
              'pageName' => 'page',
              'path' => call_user_func($pathFinder),
          ]);
  
          $pagination->setMode(Paginator::MODE_STANDART);
          $count = $this->build()->rowCount();
  
          $pagination->count($count);
  
          return $pagination;
      }
code_tokens: public function pagination ( $ perPage = 15 ) { $ currentPageFinder = Paginator :: getCurrentPageFinder ( ) ; $ pathFinder = Paginator :: getRequestPathFinder ( ) ; $ pagination = new Paginator ( $ perPage , call_user_func ( $ currentPageFinder ) , [ 'pageName' => 'page' , 'path' => call_user_func ( $ pathFinder ) , ] ) ; $ pagination -> setMode ( Paginator :: MODE_STANDART ) ; $ count = $ this -> build ( ) -> rowCount ( ) ; $ pagination -> count ( $ count ) ; return $ pagination ; }
docstring: create a instance for standart pagination
  
  @param int $perPage
  @return Paginator
docstring_tokens: create a instance for standart pagination