| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 8 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | View Code Duplication | public function findOneBySubdomainAndDomain($subdomain, $domain) |
|
| 26 | { |
||
| 27 | $qb = $this->createQueryBuilder('t'); |
||
| 28 | $qb->where()->eq()->field('t.subdomain')->literal($subdomain); |
||
| 29 | $qb->andWhere()->eq()->field('t.domainName')->literal($domain); |
||
| 30 | |||
| 31 | return $qb->getQuery()->getOneOrNullResult(); |
||
| 32 | } |
||
| 33 | |||
| 66 |