1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 00:56:08 +02:00

Add array of records to MailHandler::send to allow analysis of individual records before sending email

This commit is contained in:
Jordi Boggiano
2012-04-22 18:25:08 +02:00
parent 365a5fc175
commit 5c97153efe
4 changed files with 15 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ class SwiftMailerHandler extends MailHandler
/**
* {@inheritdoc}
*/
protected function send($content)
protected function send($content, array $records)
{
$message = clone $this->message;
$message->setBody($content);