프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$productAssociationFactory | Sylius\Component\Resource\Factory\FactoryInterface | ||
$productAssociationTypeRepository | Sylius\Component\Resource\Repository\RepositoryInterface | ||
$productRepository | Sylius\Component\Product\Repository\ProductRepositoryInterface |
메소드 | 설명 | |
---|---|---|
__construct ( Sylius\Component\Resource\Factory\FactoryInterface $productAssociationFactory, Sylius\Component\Product\Repository\ProductRepositoryInterface $productRepository, Sylius\Component\Resource\Repository\RepositoryInterface $productAssociationTypeRepository ) | ||
reverseTransform ( $values ) | ||
transform ( $productAssociations ) |
메소드 | 설명 | |
---|---|---|
getIdsAsStringFromProducts ( Doctrine\Common\Collections\Collection $products ) : string | ||
getProductAssociationByTypeCode ( string $productAssociationTypeCode ) : Sylius\Component\Product\Model\ProductAssociationInterface | ||
setAssociatedProductsByProductIds ( Sylius\Component\Product\Model\ProductAssociationInterface $productAssociation, string $productIds ) | ||
setProductAssociations ( Doctrine\Common\Collections\Collection | null $productAssociations ) |
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 |
protected FactoryInterface,Sylius\Component\Resource\Factory $productAssociationFactory | ||
리턴 | Sylius\Component\Resource\Factory\FactoryInterface |
protected RepositoryInterface,Sylius\Component\Resource\Repository $productAssociationTypeRepository | ||
리턴 | Sylius\Component\Resource\Repository\RepositoryInterface |