TYPO3  7.6
EventDispatcher.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of SwiftMailer.
5  * (c) 2004-2009 Chris Corbyn
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10 
17 {
26  public function createSendEvent(Swift_Transport $source, Swift_Mime_Message $message);
27 
37  public function createCommandEvent(Swift_Transport $source, $command, $successCodes = array());
38 
48  public function createResponseEvent(Swift_Transport $source, $response, $valid);
49 
57  public function createTransportChangeEvent(Swift_Transport $source);
58 
68 
74  public function bindEventListener(Swift_Events_EventListener $listener);
75 
82  public function dispatchEvent(Swift_Events_EventObject $evt, $target);
83 }