Example #1
0
 /**
  * @param string[] $roles
  *
  * @return \Claroline\CoreBundle\Entity\Workspace\Workspace[]
  */
 public function getOpenableWorkspacesByRoles(array $roles)
 {
     return $this->workspaceRepo->findByRoles($roles);
 }