Sylius\Behat\Context\Setup\ProductContext::__construct PHP Method

__construct() public method

public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Core\Repository\ProductRepositoryInterface $productRepository, Sylius\Component\Product\Factory\ProductFactoryInterface $productFactory, Sylius\Component\Resource\Factory\FactoryInterface $productTranslationFactory, Sylius\Component\Attribute\Factory\AttributeFactoryInterface $productAttributeFactory, Sylius\Component\Resource\Factory\FactoryInterface $attributeValueFactory, Sylius\Component\Resource\Factory\FactoryInterface $productVariantFactory, Sylius\Component\Resource\Factory\FactoryInterface $channelPricingFactory, Sylius\Component\Resource\Factory\FactoryInterface $productOptionFactory, Sylius\Component\Resource\Factory\FactoryInterface $productOptionValueFactory, Sylius\Component\Resource\Factory\FactoryInterface $productImageFactory, Doctrine\Common\Persistence\ObjectManager $objectManager, Sylius\Component\Product\Resolver\ProductVariantResolverInterface $defaultVariantResolver, Sylius\Component\Core\Uploader\ImageUploaderInterface $imageUploader, Sylius\Component\Product\Generator\SlugGeneratorInterface $slugGenerator, array $minkParameters )
$sharedStorage Sylius\Behat\Service\SharedStorageInterface
$productRepository Sylius\Component\Core\Repository\ProductRepositoryInterface
$productFactory Sylius\Component\Product\Factory\ProductFactoryInterface
$productTranslationFactory Sylius\Component\Resource\Factory\FactoryInterface
$productAttributeFactory Sylius\Component\Attribute\Factory\AttributeFactoryInterface
$attributeValueFactory Sylius\Component\Resource\Factory\FactoryInterface
$productVariantFactory Sylius\Component\Resource\Factory\FactoryInterface
$channelPricingFactory Sylius\Component\Resource\Factory\FactoryInterface
$productOptionFactory Sylius\Component\Resource\Factory\FactoryInterface
$productOptionValueFactory Sylius\Component\Resource\Factory\FactoryInterface
$productImageFactory Sylius\Component\Resource\Factory\FactoryInterface
$objectManager Doctrine\Common\Persistence\ObjectManager
$defaultVariantResolver Sylius\Component\Product\Resolver\ProductVariantResolverInterface
$imageUploader Sylius\Component\Core\Uploader\ImageUploaderInterface
$slugGenerator Sylius\Component\Product\Generator\SlugGeneratorInterface
$minkParameters array
    public function __construct(SharedStorageInterface $sharedStorage, ProductRepositoryInterface $productRepository, ProductFactoryInterface $productFactory, FactoryInterface $productTranslationFactory, AttributeFactoryInterface $productAttributeFactory, FactoryInterface $attributeValueFactory, FactoryInterface $productVariantFactory, FactoryInterface $channelPricingFactory, FactoryInterface $productOptionFactory, FactoryInterface $productOptionValueFactory, FactoryInterface $productImageFactory, ObjectManager $objectManager, ProductVariantResolverInterface $defaultVariantResolver, ImageUploaderInterface $imageUploader, SlugGeneratorInterface $slugGenerator, array $minkParameters)
    {
        $this->sharedStorage = $sharedStorage;
        $this->productRepository = $productRepository;
        $this->productFactory = $productFactory;
        $this->productTranslationFactory = $productTranslationFactory;
        $this->productAttributeFactory = $productAttributeFactory;
        $this->attributeValueFactory = $attributeValueFactory;
        $this->productVariantFactory = $productVariantFactory;
        $this->channelPricingFactory = $channelPricingFactory;
        $this->productOptionFactory = $productOptionFactory;
        $this->productOptionValueFactory = $productOptionValueFactory;
        $this->productImageFactory = $productImageFactory;
        $this->objectManager = $objectManager;
        $this->defaultVariantResolver = $defaultVariantResolver;
        $this->imageUploader = $imageUploader;
        $this->slugGenerator = $slugGenerator;
        $this->minkParameters = $minkParameters;
    }