| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | public function findByTaxon(TaxonInterface $taxon): ?array |
||
| 56 | { |
||
| 57 | $data = []; |
||
| 58 | $data[$this->taxonsProperty] = strtolower($taxon->getCode()); |
||
| 59 | |||
| 60 | $query = $this->productOptionsByTaxonQueryBuilder->buildQuery($data); |
||
| 61 | $options = $this->optionsFinder->find($query); |
||
| 62 | |||
| 63 | return $options; |
||
| 64 | } |
||
| 66 |