PHP 클래스 spec\Sylius\Bundle\CoreBundle\EventListener\CustomerReviewsDeleteListenerSpec

저자: Mateusz Zalewski ([email protected])
저자: Grzegorz Sadowski ([email protected])
상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
it_is_initializable ( )
it_removes_soft_deleted_customer_reviews_and_recalculates_their_product_ratings ( $reviewerReviewsRemover, Symfony\Component\EventDispatcher\GenericEvent $event, Sylius\Component\Review\Model\ReviewerInterface $author )
it_throws_exception_if_event_subject_is_not_customer_object ( Symfony\Component\EventDispatcher\GenericEvent $event )
let ( ReviewerReviewsRemover $reviewerReviewsRemover )

메소드 상세

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_removes_soft_deleted_customer_reviews_and_recalculates_their_product_ratings() 공개 메소드

public it_removes_soft_deleted_customer_reviews_and_recalculates_their_product_ratings ( $reviewerReviewsRemover, Symfony\Component\EventDispatcher\GenericEvent $event, Sylius\Component\Review\Model\ReviewerInterface $author )
$event Symfony\Component\EventDispatcher\GenericEvent
$author Sylius\Component\Review\Model\ReviewerInterface

it_throws_exception_if_event_subject_is_not_customer_object() 공개 메소드

public it_throws_exception_if_event_subject_is_not_customer_object ( Symfony\Component\EventDispatcher\GenericEvent $event )
$event Symfony\Component\EventDispatcher\GenericEvent

let() 공개 메소드

public let ( ReviewerReviewsRemover $reviewerReviewsRemover )
$reviewerReviewsRemover Sylius\Bundle\CoreBundle\Remover\ReviewerReviewsRemover