Fix SwiftMailerHandler to support Monolog's latest reset functionality
This commit is contained in:
parent
a5c52b81f2
commit
ada2d83b67
@ -59,6 +59,14 @@ class SwiftMailerHandler extends BaseSwiftMailerHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function reset()
|
||||||
|
{
|
||||||
|
$this->flushMemorySpool();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flushes the mail queue if a memory spool is used.
|
* Flushes the mail queue if a memory spool is used.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user