| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | final class ProductTaxonsBuilder extends AbstractBuilder |
||
| 19 | { |
||
| 20 | /** @var ProductTaxonsMapperInterface */ |
||
| 21 | private $productTaxonsMapper; |
||
| 22 | |||
| 23 | /** @var string */ |
||
| 24 | private $taxonsProperty; |
||
| 25 | |||
| 26 | public function __construct(ProductTaxonsMapperInterface $productTaxonsMapper, string $taxonsProperty) |
||
| 27 | { |
||
| 28 | $this->productTaxonsMapper = $productTaxonsMapper; |
||
| 29 | $this->taxonsProperty = $taxonsProperty; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function consumeEvent(PostTransformEvent $event): void |
||
| 41 | } |
||
| 42 | ); |
||
| 45 |