PHP 클래스 Sylius\Behat\Context\Domain\ManagingPromotionCouponsContext

저자: Arkadiusz Krakowiak ([email protected])
상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Promotion\Repository\PromotionCouponRepositoryInterface $couponRepository )
couponShouldNotExistInTheRegistry ( Sylius\Component\Promotion\Model\PromotionCouponInterface $coupon )
couponShouldStillExistInTheRegistry ( Sylius\Component\Promotion\Model\PromotionCouponInterface $coupon )
iDeleteCoupon ( Sylius\Component\Promotion\Model\PromotionCouponInterface $coupon, Sylius\Component\Core\Model\PromotionInterface $promotion )
iShouldBeNotifiedOfFailure ( )
iTryToDeleteCoupon ( Sylius\Component\Promotion\Model\PromotionCouponInterface $coupon, Sylius\Component\Core\Model\PromotionInterface $promotion )

메소드 상세

__construct() 공개 메소드

public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Promotion\Repository\PromotionCouponRepositoryInterface $couponRepository )
$sharedStorage Sylius\Behat\Service\SharedStorageInterface
$couponRepository Sylius\Component\Promotion\Repository\PromotionCouponRepositoryInterface

couponShouldNotExistInTheRegistry() 공개 메소드

public couponShouldNotExistInTheRegistry ( Sylius\Component\Promotion\Model\PromotionCouponInterface $coupon )
$coupon Sylius\Component\Promotion\Model\PromotionCouponInterface

couponShouldStillExistInTheRegistry() 공개 메소드

public couponShouldStillExistInTheRegistry ( Sylius\Component\Promotion\Model\PromotionCouponInterface $coupon )
$coupon Sylius\Component\Promotion\Model\PromotionCouponInterface

iDeleteCoupon() 공개 메소드

public iDeleteCoupon ( Sylius\Component\Promotion\Model\PromotionCouponInterface $coupon, Sylius\Component\Core\Model\PromotionInterface $promotion )
$coupon Sylius\Component\Promotion\Model\PromotionCouponInterface
$promotion Sylius\Component\Core\Model\PromotionInterface

iShouldBeNotifiedOfFailure() 공개 메소드

iTryToDeleteCoupon() 공개 메소드

public iTryToDeleteCoupon ( Sylius\Component\Promotion\Model\PromotionCouponInterface $coupon, Sylius\Component\Core\Model\PromotionInterface $promotion )
$coupon Sylius\Component\Promotion\Model\PromotionCouponInterface
$promotion Sylius\Component\Core\Model\PromotionInterface