symfony API

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

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, ) Browse code

    $transport A transport instance

    Sends messages using the given transport instance.

    returns The number of sent emails

  • (boolean) isStarted () Browse code

    Tests if this Transport mechanism has started.

  • queueMessage ($message) Browse code

    $message The message to store

    Stores a message in the queue.

  • start () Browse code

    Starts this Transport mechanism.

  • stop () Browse code

    Stops this Transport mechanism.

  • __construct (, , ) Browse code

    Constructor.