PHP Class Sylius\Bundle\CoreBundle\EventListener\UserMailerListener

Author: Paweł Jędrzejewski ([email protected])
Author: Grzegorz Sadowski ([email protected])
Inheritance: extends Sylius\Bundle\UserBundle\EventListener\MailerListener
显示文件 Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Mailer\Sender\SenderInterface $emailSender, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext )
sendUserRegistrationEmail ( Symfony\Component\EventDispatcher\GenericEvent $event )

Protected Methods

Method Description
sendEmail ( $user, $emailCode )

Method Details

__construct() public method

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

sendEmail() protected method

protected sendEmail ( $user, $emailCode )

sendUserRegistrationEmail() public method

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