Example #1
0
 /**
  * @param \Claroline\CoreBundle\Entity\Workspace\Workspace $workspace
  * @param int                                              $page
  * @param int                                              $max
  *
  * @return \PagerFanta\PagerFanta
  */
 public function getWorkspaceOutsiders(Workspace $workspace, $page, $max = 50)
 {
     $query = $this->groupRepo->findWorkspaceOutsiders($workspace, false);
     return $this->pagerFactory->createPager($query, $page, $max);
 }