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

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

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

Метод Описание
it_does_not_send_the_email_confirmation_if_the_customer_user_is_null ( Sylius\Component\Mailer\Sender\SenderInterface $emailSender, Symfony\Component\EventDispatcher\GenericEvent $event, Sylius\Component\Core\Model\CustomerInterface $customer )
it_does_not_send_the_email_registration_if_the_customer_user_does_not_have_email ( Sylius\Component\Mailer\Sender\SenderInterface $emailSender, Symfony\Component\EventDispatcher\GenericEvent $event, Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\ShopUserInterface $user )
it_is_a_user_mailer_listener ( )
it_is_instializable ( )
it_sends_an_email_registration_successfully ( Sylius\Component\Mailer\Sender\SenderInterface $emailSender, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Symfony\Component\EventDispatcher\GenericEvent $event, Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\ShopUserInterface $user, Sylius\Component\Channel\Model\ChannelInterface $channel )
it_throws_an_exception_if_event_subject_is_not_a_customer_instance_sending_confirmation ( Symfony\Component\EventDispatcher\GenericEvent $event, stdClass $customer )
let ( Sylius\Component\Mailer\Sender\SenderInterface $emailSender, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext )

Описание методов

it_does_not_send_the_email_confirmation_if_the_customer_user_is_null() публичный Метод

public it_does_not_send_the_email_confirmation_if_the_customer_user_is_null ( Sylius\Component\Mailer\Sender\SenderInterface $emailSender, Symfony\Component\EventDispatcher\GenericEvent $event, Sylius\Component\Core\Model\CustomerInterface $customer )
$emailSender Sylius\Component\Mailer\Sender\SenderInterface
$event Symfony\Component\EventDispatcher\GenericEvent
$customer Sylius\Component\Core\Model\CustomerInterface

it_does_not_send_the_email_registration_if_the_customer_user_does_not_have_email() публичный Метод

public it_does_not_send_the_email_registration_if_the_customer_user_does_not_have_email ( Sylius\Component\Mailer\Sender\SenderInterface $emailSender, Symfony\Component\EventDispatcher\GenericEvent $event, Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\ShopUserInterface $user )
$emailSender Sylius\Component\Mailer\Sender\SenderInterface
$event Symfony\Component\EventDispatcher\GenericEvent
$customer Sylius\Component\Core\Model\CustomerInterface
$user Sylius\Component\Core\Model\ShopUserInterface

it_is_a_user_mailer_listener() публичный Метод

it_is_instializable() публичный Метод

public it_is_instializable ( )

it_sends_an_email_registration_successfully() публичный Метод

public it_sends_an_email_registration_successfully ( Sylius\Component\Mailer\Sender\SenderInterface $emailSender, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, Symfony\Component\EventDispatcher\GenericEvent $event, Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\ShopUserInterface $user, Sylius\Component\Channel\Model\ChannelInterface $channel )
$emailSender Sylius\Component\Mailer\Sender\SenderInterface
$channelContext Sylius\Component\Channel\Context\ChannelContextInterface
$event Symfony\Component\EventDispatcher\GenericEvent
$customer Sylius\Component\Core\Model\CustomerInterface
$user Sylius\Component\Core\Model\ShopUserInterface
$channel Sylius\Component\Channel\Model\ChannelInterface

it_throws_an_exception_if_event_subject_is_not_a_customer_instance_sending_confirmation() публичный Метод

public it_throws_an_exception_if_event_subject_is_not_a_customer_instance_sending_confirmation ( Symfony\Component\EventDispatcher\GenericEvent $event, stdClass $customer )
$event Symfony\Component\EventDispatcher\GenericEvent
$customer stdClass

let() публичный Метод

public let ( Sylius\Component\Mailer\Sender\SenderInterface $emailSender, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext )
$emailSender Sylius\Component\Mailer\Sender\SenderInterface
$channelContext Sylius\Component\Channel\Context\ChannelContextInterface