Skip to content

Commit

Permalink
Fix SwiftMailerHandler to support Monolog's latest reset functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Jan 10, 2019
1 parent a5c52b8 commit ada2d83
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Symfony/Bridge/Monolog/Handler/SwiftMailerHandler.php
Expand Up @@ -59,6 +59,14 @@ protected function send($content, array $records)
}
}

/**
* {@inheritdoc}
*/
public function reset()
{
$this->flushMemorySpool();
}

/**
* Flushes the mail queue if a memory spool is used.
*/
Expand Down

0 comments on commit ada2d83

Please sign in to comment.