symfony API

sfMailerMessageLoggerPlugin Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.4 version. Switch to:

sfMailerMessageLoggerPlugin is a Swift plugin to log all sent messages.

Method Summary

Method Details

  • beforeSendPerformed ($evt) Browse code

    Invoked immediately before the Message is sent.

  • clear () Browse code

    Clears all the messages.

  • (int) countMessages () Browse code

    Returns the number of logged messages.

    returns The number if logged messages

  • (array) getMessages () Browse code

    Gets all logged messages.

    returns An array of message instances

  • sendPerformed ($evt) Browse code

    Invoked immediately after the Message is sent.

  • __construct ($dispatcher) Browse code

    $dispatcher An event dispatcher instance

    Constructor.