8000 Fix SwiftMailerHandler to support Monolog's latest reset functionality · symfony/symfony@ada2d83 · GitHub
[go: up one dir, main page]

Skip to content

Commit ada2d83

Browse files
authored
Fix SwiftMailerHandler to support Monolog's latest reset functionality
1 parent a5c52b8 commit ada2d83

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Symfony/Bridge/Monolog/Handler/SwiftMailerHandler.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ protected function send($content, array $records)
5959
}
6060
}
6161

62+
/**
63+
* {@inheritdoc}
64+
*/
65+
public function reset()
66+
{
67+
$this->flushMemorySpool();
68+
}
69+
6270
/**
6371
* Flushes the mail queue if a memory spool is used.
6472
*/

0 commit comments

Comments
 (0)
0