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

__construct() public method

public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Resource\Factory\FactoryInterface $productAssociationTypeFactory, Sylius\Component\Resource\Factory\FactoryInterface $productAssociationFactory, Sylius\Component\Resource\Repository\RepositoryInterface $productAssociationTypeRepository, Sylius\Component\Resource\Repository\RepositoryInterface $productAssociationRepository )
$sharedStorage Sylius\Behat\Service\SharedStorageInterface
$productAssociationTypeFactory Sylius\Component\Resource\Factory\FactoryInterface
$productAssociationFactory Sylius\Component\Resource\Factory\FactoryInterface
$productAssociationTypeRepository Sylius\Component\Resource\Repository\RepositoryInterface
$productAssociationRepository Sylius\Component\Resource\Repository\RepositoryInterface
    public function __construct(SharedStorageInterface $sharedStorage, FactoryInterface $productAssociationTypeFactory, FactoryInterface $productAssociationFactory, RepositoryInterface $productAssociationTypeRepository, RepositoryInterface $productAssociationRepository)
    {
        $this->sharedStorage = $sharedStorage;
        $this->productAssociationTypeFactory = $productAssociationTypeFactory;
        $this->productAssociationFactory = $productAssociationFactory;
        $this->productAssociationTypeRepository = $productAssociationTypeRepository;
        $this->productAssociationRepository = $productAssociationRepository;
    }