Méthode | Description | |
---|---|---|
__construct ( Sylius\Component\Core\Repository\ProductRepositoryInterface $productRepository, Sylius\Component\Product\Repository\ProductVariantRepositoryInterface $productVariantRepository ) | ||
getProductVariantByCode ( $code ) | ||
getProductVariantByName ( $name ) | ||
getProductVariantByNameAndProduct ( $variantName, $productName ) |
public __construct ( Sylius\Component\Core\Repository\ProductRepositoryInterface $productRepository, Sylius\Component\Product\Repository\ProductVariantRepositoryInterface $productVariantRepository ) | ||
$productRepository | Sylius\Component\Core\Repository\ProductRepositoryInterface | |
$productVariantRepository | Sylius\Component\Product\Repository\ProductVariantRepositoryInterface |
public getProductVariantByNameAndProduct ( $variantName, $productName ) |