| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 8 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | View Code Duplication | public function findOneByDomain($domain) |
|
| 38 | { |
||
| 39 | $qb = $this->createQueryBuilder('t'); |
||
| 40 | $qb->where()->eq()->field('t.domainName')->literal($domain); |
||
| 41 | $qb->andWhere()->eq()->field('t.subdomain')->literal(null); |
||
| 42 | |||
| 43 | return $qb->getQuery()->getOneOrNullResult(); |
||
| 44 | } |
||
| 45 | |||
| 66 |