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->attributesByTaxonQueryBuilder->buildQuery($data); |
||
61 | $attributes = $this->attributesFinder->find($query); |
||
62 | |||
63 | return $attributes; |
||
64 | } |
||
66 |