| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 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 | } |
||
| 66 |