symfony API

Swift_DoctrineSpool 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.

Swift_DoctrineSpool is a spool that uses Doctrine.

Method Summary

  • int flushQueue($transport, )
    Sends messages using the given transport instance.
  • boolean isStarted()
    Tests if this Transport mechanism has started.
  • queueMessage($message)
    Stores a message in the queue.
  • start()
    Starts this Transport mechanism.
  • stop()
    Stops this Transport mechanism.
  • __construct(, , )
    Constructor.

Method Details

  • (int) flushQueue ($transport, )

    $transport A transport instance

    Sends messages using the given transport instance.

    returns The number of sent emails

  • (boolean) isStarted ()

    Tests if this Transport mechanism has started.

  • queueMessage ($message)

    $message The message to store

    Stores a message in the queue.

  • start ()

    Starts this Transport mechanism.

  • stop ()

    Stops this Transport mechanism.

  • __construct (, , )

    Constructor.