| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function findSecondaryOptions(ExtraFieldOptions $option) |
||
| 35 | { |
||
| 36 | $qb = $this->createQueryBuilder('so'); |
||
| 37 | $qb |
||
| 38 | ->where( |
||
| 39 | $qb->expr()->eq('so.field', $option->getField()->getId()) |
||
| 40 | ) |
||
| 41 | ->andWhere( |
||
| 42 | $qb->expr()->eq('so.value', $option->getId()) |
||
| 43 | ) |
||
| 44 | ->orderBy('so.displayText', 'ASC'); |
||
| 45 | |||
| 46 | return $qb |
||
| 47 | ->getQuery() |
||
| 48 | ->getResult(); |
||
| 49 | } |
||
| 51 |