@@ -82,6 +82,9 @@ |
||
82 | 82 | return $productView; |
83 | 83 | } |
84 | 84 | |
85 | + /** |
|
86 | + * @param string $locale |
|
87 | + */ |
|
85 | 88 | private function getTaxonWithAncestors(TaxonInterface $taxon, $locale): TaxonView |
86 | 89 | { |
87 | 90 | $currentTaxonView = $this->taxonViewFactory->create($taxon, $locale); |
@@ -45,6 +45,9 @@ |
||
45 | 45 | return $currentTaxonView; |
46 | 46 | } |
47 | 47 | |
48 | + /** |
|
49 | + * @param string $locale |
|
50 | + */ |
|
48 | 51 | private function buildTaxonView(TaxonInterface $taxon, $locale): TaxonView |
49 | 52 | { |
50 | 53 | $taxonView = $this->taxonViewFactory->create($taxon, $locale); |