| @@ 74-95 (lines=22) @@ | ||
| 71 | * @param ProductArchetypeFixture $productArchetypeFixture |
|
| 72 | * @param ProductFixture $productFixture |
|
| 73 | */ |
|
| 74 | public function __construct( |
|
| 75 | TaxonFixture $taxonFixture, |
|
| 76 | RepositoryInterface $taxonRepository, |
|
| 77 | ProductAttributeFixture $productAttributeFixture, |
|
| 78 | ProductOptionFixture $productOptionFixture, |
|
| 79 | ProductArchetypeFixture $productArchetypeFixture, |
|
| 80 | ProductFixture $productFixture |
|
| 81 | ) { |
|
| 82 | $this->taxonFixture = $taxonFixture; |
|
| 83 | $this->taxonRepository = $taxonRepository; |
|
| 84 | $this->productAttributeFixture = $productAttributeFixture; |
|
| 85 | $this->productOptionFixture = $productOptionFixture; |
|
| 86 | $this->productArchetypeFixture = $productArchetypeFixture; |
|
| 87 | $this->productFixture = $productFixture; |
|
| 88 | ||
| 89 | $this->faker = \Faker\Factory::create(); |
|
| 90 | $this->optionsResolver = |
|
| 91 | (new OptionsResolver()) |
|
| 92 | ->setRequired('amount') |
|
| 93 | ->setAllowedTypes('amount', 'int') |
|
| 94 | ; |
|
| 95 | } |
|
| 96 | ||
| 97 | /** |
|
| 98 | * {@inheritdoc} |
|
| @@ 73-94 (lines=22) @@ | ||
| 70 | * @param ProductArchetypeFixture $productArchetypeFixture |
|
| 71 | * @param ProductFixture $productFixture |
|
| 72 | */ |
|
| 73 | public function __construct( |
|
| 74 | TaxonFixture $taxonFixture, |
|
| 75 | RepositoryInterface $taxonRepository, |
|
| 76 | ProductAttributeFixture $productAttributeFixture, |
|
| 77 | ProductOptionFixture $productOptionFixture, |
|
| 78 | ProductArchetypeFixture $productArchetypeFixture, |
|
| 79 | ProductFixture $productFixture |
|
| 80 | ) { |
|
| 81 | $this->taxonFixture = $taxonFixture; |
|
| 82 | $this->taxonRepository = $taxonRepository; |
|
| 83 | $this->productAttributeFixture = $productAttributeFixture; |
|
| 84 | $this->productOptionFixture = $productOptionFixture; |
|
| 85 | $this->productArchetypeFixture = $productArchetypeFixture; |
|
| 86 | $this->productFixture = $productFixture; |
|
| 87 | ||
| 88 | $this->faker = \Faker\Factory::create(); |
|
| 89 | $this->optionsResolver = |
|
| 90 | (new OptionsResolver()) |
|
| 91 | ->setRequired('amount') |
|
| 92 | ->setAllowedTypes('amount', 'int') |
|
| 93 | ; |
|
| 94 | } |
|
| 95 | ||
| 96 | /** |
|
| 97 | * {@inheritdoc} |
|
| @@ 73-94 (lines=22) @@ | ||
| 70 | * @param ProductArchetypeFixture $productArchetypeFixture |
|
| 71 | * @param ProductFixture $productFixture |
|
| 72 | */ |
|
| 73 | public function __construct( |
|
| 74 | TaxonFixture $taxonFixture, |
|
| 75 | RepositoryInterface $taxonRepository, |
|
| 76 | ProductAttributeFixture $productAttributeFixture, |
|
| 77 | ProductOptionFixture $productOptionFixture, |
|
| 78 | ProductArchetypeFixture $productArchetypeFixture, |
|
| 79 | ProductFixture $productFixture |
|
| 80 | ) { |
|
| 81 | $this->taxonFixture = $taxonFixture; |
|
| 82 | $this->taxonRepository = $taxonRepository; |
|
| 83 | $this->productAttributeFixture = $productAttributeFixture; |
|
| 84 | $this->productOptionFixture = $productOptionFixture; |
|
| 85 | $this->productArchetypeFixture = $productArchetypeFixture; |
|
| 86 | $this->productFixture = $productFixture; |
|
| 87 | ||
| 88 | $this->faker = \Faker\Factory::create(); |
|
| 89 | $this->optionsResolver = |
|
| 90 | (new OptionsResolver()) |
|
| 91 | ->setRequired('amount') |
|
| 92 | ->setAllowedTypes('amount', 'int') |
|
| 93 | ; |
|
| 94 | } |
|
| 95 | ||
| 96 | /** |
|
| 97 | * {@inheritdoc} |
|
| @@ 73-94 (lines=22) @@ | ||
| 70 | * @param ProductArchetypeFixture $productArchetypeFixture |
|
| 71 | * @param ProductFixture $productFixture |
|
| 72 | */ |
|
| 73 | public function __construct( |
|
| 74 | TaxonFixture $taxonFixture, |
|
| 75 | RepositoryInterface $taxonRepository, |
|
| 76 | ProductAttributeFixture $productAttributeFixture, |
|
| 77 | ProductOptionFixture $productOptionFixture, |
|
| 78 | ProductArchetypeFixture $productArchetypeFixture, |
|
| 79 | ProductFixture $productFixture |
|
| 80 | ) { |
|
| 81 | $this->taxonFixture = $taxonFixture; |
|
| 82 | $this->taxonRepository = $taxonRepository; |
|
| 83 | $this->productAttributeFixture = $productAttributeFixture; |
|
| 84 | $this->productOptionFixture = $productOptionFixture; |
|
| 85 | $this->productArchetypeFixture = $productArchetypeFixture; |
|
| 86 | $this->productFixture = $productFixture; |
|
| 87 | ||
| 88 | $this->faker = \Faker\Factory::create(); |
|
| 89 | $this->optionsResolver = |
|
| 90 | (new OptionsResolver()) |
|
| 91 | ->setRequired('amount') |
|
| 92 | ->setAllowedTypes('amount', 'int') |
|
| 93 | ; |
|
| 94 | } |
|
| 95 | ||
| 96 | /** |
|
| 97 | * {@inheritdoc} |
|