symfony API

sfMailerMessageLoggerPlugin Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

Packages

You are currently browsing the symfony API for the 1.4 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfMailerMessageLoggerPlugin is a Swift plugin to log all sent messages.

Method Summary

Method Details

  • beforeSendPerformed ($evt)

    Invoked immediately before the Message is sent.

  • clear ()

    Clears all the messages.

  • (int) countMessages ()

    Returns the number of logged messages.

    returns The number if logged messages

  • (array) getMessages ()

    Gets all logged messages.

    returns An array of message instances

  • sendPerformed ($evt)

    Invoked immediately after the Message is sent.

  • __construct ($dispatcher)

    $dispatcher An event dispatcher instance

    Constructor.