Fix SwiftMailerHandler to support Monolog's latest reset functionality

This commit is contained in:
Jordi Boggiano 2019-01-10 16:10:12 +01:00 committed by GitHub
parent a5c52b81f2
commit ada2d83b67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -59,6 +59,14 @@ class SwiftMailerHandler extends BaseSwiftMailerHandler
}
}
/**
* {@inheritdoc}
*/
public function reset()
{
$this->flushMemorySpool();
}
/**
* Flushes the mail queue if a memory spool is used.
*/