class SwiftMailerHandler extends SwiftMailerHandler
Extended SwiftMailerHandler that flushes mail queue if necessary.
protected | $transport | ||
protected | $instantFlush |
setTransport(Swift_Transport $transport) | ||
onKernelTerminate(PostResponseEvent $event) After the kernel has been terminated we will always flush messages. | ||
onCliTerminate(ConsoleTerminateEvent $event) After the CLI application has been terminated we will always flush messages. | ||
send($content, array $records) {@inheritdoc} |
Swift_Transport | $transport |
After the kernel has been terminated we will always flush messages.
PostResponseEvent | $event |
After the CLI application has been terminated we will always flush messages.
ConsoleTerminateEvent | $event |
{@inheritdoc}
$content | ||
array | $records |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Monolog/Handler/SwiftMailerHandler.html