PHP Класс spec\Sylius\Bundle\CoreBundle\EventListener\CustomerReviewsDeleteListenerSpec

Автор: Mateusz Zalewski ([email protected])
Автор: Grzegorz Sadowski ([email protected])
Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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