PHP 클래스 Sylius\Behat\Context\Transform\ProductVariantContext

저자: Łukasz Chruściel ([email protected])
상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__construct ( Sylius\Component\Core\Repository\ProductRepositoryInterface $productRepository, Sylius\Component\Product\Repository\ProductVariantRepositoryInterface $productVariantRepository )
getProductVariantByCode ( $code )
getProductVariantByName ( $name )
getProductVariantByNameAndProduct ( $variantName, $productName )

메소드 상세

__construct() 공개 메소드

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

getProductVariantByCode() 공개 메소드

public getProductVariantByCode ( $code )

getProductVariantByName() 공개 메소드

public getProductVariantByName ( $name )

getProductVariantByNameAndProduct() 공개 메소드

public getProductVariantByNameAndProduct ( $variantName, $productName )