Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function createClientQueryBuilder(SaasClientInterface $client, string $alias, $indexedBy = null) |
||
18 | { |
||
19 | /** @var ServiceEntityRepository $this */ |
||
20 | $qb = $this->createQueryBuilder($alias, $indexedBy); |
||
21 | $qb |
||
22 | ->andWhere($alias . '.client = :client') |
||
23 | ->setParameter('client', $client->getId()); |
||
24 | |||
25 | return $qb; |
||
26 | } |
||
28 |