Method | Description | |
---|---|---|
__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 ) | ||
theProductHasAnAssociationWithProduct ( Sylius\Component\Core\Model\ProductInterface $product, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, Sylius\Component\Core\Model\ProductInterface $associatedProduct ) | ||
theProductHasAnAssociationWithProducts ( Sylius\Component\Core\Model\ProductInterface $product, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, array $associatedProducts ) | ||
theStoreHasAProductAssociationType ( $name, $code = null ) | ||
theStoreHasProductAssociationTypes ( $names ) |
Method | Description | |
---|---|---|
createProductAssociation ( Sylius\Component\Core\Model\ProductInterface $product, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, array $associatedProducts ) | ||
createProductAssociationType ( string $name, string | null $code = null ) | ||
generateCodeFromName ( string $name ) : string |
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 theProductHasAnAssociationWithProduct ( Sylius\Component\Core\Model\ProductInterface $product, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, Sylius\Component\Core\Model\ProductInterface $associatedProduct ) | ||
$product | Sylius\Component\Core\Model\ProductInterface | |
$productAssociationType | Sylius\Component\Product\Model\ProductAssociationTypeInterface | |
$associatedProduct | Sylius\Component\Core\Model\ProductInterface |
public theProductHasAnAssociationWithProducts ( Sylius\Component\Core\Model\ProductInterface $product, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, array $associatedProducts ) | ||
$product | Sylius\Component\Core\Model\ProductInterface | |
$productAssociationType | Sylius\Component\Product\Model\ProductAssociationTypeInterface | |
$associatedProducts | array |
public theStoreHasAProductAssociationType ( $name, $code = null ) |
public theStoreHasProductAssociationTypes ( $names ) |