| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | final class ProductOptionsContext implements ProductOptionsContextInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var TaxonContextInterface |
||
| 21 | */ |
||
| 22 | private $taxonContext; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var OptionsFinderInterface |
||
| 26 | */ |
||
| 27 | private $optionsFinder; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param TaxonContextInterface $taxonContext |
||
| 31 | * @param OptionsFinderInterface $optionsFinder |
||
| 32 | */ |
||
| 33 | public function __construct( |
||
| 34 | TaxonContextInterface $taxonContext, |
||
| 35 | OptionsFinderInterface $optionsFinder |
||
| 36 | ) |
||
| 37 | { |
||
| 38 | $this->taxonContext = $taxonContext; |
||
| 39 | $this->optionsFinder = $optionsFinder; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public function getOptions(): ?array |
||
| 51 | } |
||
| 52 | } |
||
| 53 |