original_string: public function getSubjectsPager(Category $category, $page = 1, $max = 20)
      {
          $subjects = $this->forumRepo->findSubjects($category);
  
          return $this->pagerFactory->createPagerFromArray($subjects, $page, $max);
      }
code: public function getSubjectsPager(Category $category, $page = 1, $max = 20)
      {
          $subjects = $this->forumRepo->findSubjects($category);
  
          return $this->pagerFactory->createPagerFromArray($subjects, $page, $max);
      }
code_tokens: public function getSubjectsPager ( Category $ category , $ page = 1 , $ max = 20 ) { $ subjects = $ this -> forumRepo -> findSubjects ( $ category ) ; return $ this -> pagerFactory -> createPagerFromArray ( $ subjects , $ page , $ max ) ; }
docstring: Get the pager for the subject list of a category.
  
  @param \Claroline\ForumBundle\Entity\Category $category
  @param integer $page
  @param integer $max
  
  @return \Pagerfanta\Pagerfanta
docstring_tokens: Get the pager for the subject list of a category .