Method | Description | |
---|---|---|
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Attribute\Repository\AttributeRepositoryInterface $productAttributeRepository, Sylius\Component\Attribute\Factory\AttributeFactoryInterface $productAttributeFactory ) | ||
theStoreHasAProductAttributeWithCode ( $type, $name, $code ) | ||
theStoreHasAProductAttributeWithPosition ( $type, $name, $position ) | ||
theStoreHasATextProductAttribute ( $type, $name ) |
Method | Description | |
---|---|---|
createProductAttribute ( string $type, string $name, string | null $code = null ) : Sylius\Component\Product\Model\ProductAttributeInterface | ||
saveProductAttribute ( Sylius\Component\Product\Model\ProductAttributeInterface $productAttribute ) |
public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Attribute\Repository\AttributeRepositoryInterface $productAttributeRepository, Sylius\Component\Attribute\Factory\AttributeFactoryInterface $productAttributeFactory ) | ||
$sharedStorage | Sylius\Behat\Service\SharedStorageInterface | |
$productAttributeRepository | Sylius\Component\Attribute\Repository\AttributeRepositoryInterface | |
$productAttributeFactory | Sylius\Component\Attribute\Factory\AttributeFactoryInterface |
public theStoreHasAProductAttributeWithCode ( $type, $name, $code ) |
public theStoreHasAProductAttributeWithPosition ( $type, $name, $position ) |
public theStoreHasATextProductAttribute ( $type, $name ) |