1 | <?php |
||
7 | final class LimitedProductAttributeValuesViewFactory implements ProductAttributeValuesViewFactoryInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var ProductAttributeValueViewFactoryInterface |
||
11 | */ |
||
12 | private $productAttributeValueViewFactory; |
||
13 | |||
14 | /** |
||
15 | * @var string[] |
||
16 | */ |
||
17 | private $allowedAttributesCodes; |
||
18 | |||
19 | /** |
||
20 | * @param ProductAttributeValueViewFactoryInterface $productAttributeValueViewFactory |
||
21 | * @param string[] $allowedAttributesCodes |
||
22 | */ |
||
23 | public function __construct(ProductAttributeValueViewFactoryInterface $productAttributeValueViewFactory, array $allowedAttributesCodes) |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function create(array $attributeValues) |
||
47 | } |
||
48 |