| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class OrganisationRepository extends EntityRepository |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @return Organisation[] |
||
| 21 | */ |
||
| 22 | public function findHidden() |
||
| 23 | { |
||
| 24 | $qb = $this->createQueryBuilder('u'); |
||
| 25 | $qb->where('u.hiddenAt IS NOT NULL') |
||
| 26 | ->orderBy('u.name', 'ASC'); |
||
| 27 | |||
| 28 | return $qb->getQuery()->getResult(); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return Organisation[] |
||
| 33 | */ |
||
| 34 | public function findActive() |
||
| 41 | } |
||
| 42 | } |
||
| 43 |