class MessageDataCollector extends DataCollector
MessageDataCollector.
serialize() | from DataCollector | |
unserialize($data) | from DataCollector | |
__construct(ContainerInterface $container, bool $isSpool) Constructor. | ||
collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. | ||
getMessageCount() | ||
getMessages() | ||
isSpool() | ||
string | getName() Returns the name of the collector. |
Constructor.
We don't inject the message logger and mailer here to avoid the creation of these objects when no emails are sent.
Collects data for the given Request and Response.
Returns the name of the collector.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Bridge/Swiftmailer/DataCollector/MessageDataCollector.html