PHP Class Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener

Emails are sent on the kernel.terminate event.
Author: Fabien Potencier ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Show file Open project: symfony/swiftmailer-bundle

Public Methods

Method Description
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, Psr\Log\LoggerInterface $logger = null )
getSubscribedEvents ( )
onTerminate ( )

Method Details

__construct() public method

public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container, Psr\Log\LoggerInterface $logger = null )
$container Symfony\Component\DependencyInjection\ContainerInterface
$logger Psr\Log\LoggerInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onTerminate() public method

public onTerminate ( )