Sylius\Bundle\ProductBundle\Form\DataTransformer\ProductsToProductAssociationsTransformer::__construct PHP Метод

__construct() публичный Метод

public __construct ( Sylius\Component\Resource\Factory\FactoryInterface $productAssociationFactory, Sylius\Component\Product\Repository\ProductRepositoryInterface $productRepository, Sylius\Component\Resource\Repository\RepositoryInterface $productAssociationTypeRepository )
$productAssociationFactory Sylius\Component\Resource\Factory\FactoryInterface
$productRepository Sylius\Component\Product\Repository\ProductRepositoryInterface
$productAssociationTypeRepository Sylius\Component\Resource\Repository\RepositoryInterface
    public function __construct(FactoryInterface $productAssociationFactory, ProductRepositoryInterface $productRepository, RepositoryInterface $productAssociationTypeRepository)
    {
        $this->productAssociationFactory = $productAssociationFactory;
        $this->productRepository = $productRepository;
        $this->productAssociationTypeRepository = $productAssociationTypeRepository;
    }