| 1 | <?php |
||
| 19 | final class ProductTaxonRepository |
||
| 20 | { |
||
| 21 | /** @var BaseProductTaxonRepositoryInterface */ |
||
| 22 | private $baseProductTaxonRepository; |
||
| 23 | |||
| 24 | /** @var int[] */ |
||
| 25 | private $childrenIds = []; |
||
| 26 | |||
| 27 | public function __construct(BaseProductTaxonRepositoryInterface $baseProductTaxonRepository) |
||
| 31 | |||
| 32 | public function getAmountOfProducts(TaxonInterface $taxon): int |
||
| 42 | |||
| 43 | private function getChildrenIdsRecursive(TaxonInterface $taxon): void |
||
| 53 | } |
||
| 54 |