User/Company updates

This commit is contained in:
2024-11-29 21:47:37 -05:00
parent eac41ac9fc
commit 8b7f30875b
6 changed files with 71 additions and 1 deletions

View File

@ -33,6 +33,16 @@ class UserRepository extends ServiceEntityRepository implements PasswordUpgrader
$this->getEntityManager()->flush();
}
public function getCaseManagers(): array
{
return $this->createQueryBuilder('u')
->andWhere('u.job = :job')
->setParameter('job', 'CASE_MANAGER')
->getQuery()
->getResult()
;
}
// /**
// * @return User[] Returns an array of User objects
// */