Added feature #15998: Create a new API to send mails based on SwiftMailer to replace...
[Packages/TYPO3.CMS.git] / typo3 / contrib / swiftmailer / classes / Swift / Events / TransportChangeEvent.php
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
11 //@require 'Swift/Events/EventObject.php';
12
13 /**
14 * Generated when the state of a Transport is changed (i.e. stopped/started).
15 * @package Swift
16 * @subpackage Events
17 * @author Chris Corbyn
18 */
19 class Swift_Events_TransportChangeEvent extends Swift_Events_EventObject
20 {
21
22 /**
23 * Get the Transport.
24 * @return Swift_Transport
25 */
26 public function getTransport()
27 {
28 return $this->getSource();
29 }
30
31 }