\Swift_Transport_NullTransport
Pretends messages have been sent, but just ignores them.
- Author: Fabien Potencier
Synopsis
class Swift_Transport_NullTransport
implements
Swift_Transport
{
- // members
- private $_eventDispatcher;
- // methods
- public void __construct()
- public boolean isStarted()
- public void start()
- public void stop()
- public integer send()
- public void registerPlugin()
Hierarchy
Members
private
-
$_eventDispatcher
The event dispatcher from the plugin API
Methods
public
- __construct() — Constructor.
- isStarted() — Tests if this Transport mechanism has started.
- registerPlugin() — Register a plugin.
- send() — Sends the given message.
- start() — Starts this Transport mechanism.
- stop() — Stops this Transport mechanism.