TYPO3 API  SVNRelease
TransportChangeEvent.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  * This file is part of SwiftMailer.
00005  * (c) 2004-2009 Chris Corbyn
00006  *
00007  * For the full copyright and license information, please view the LICENSE
00008  * file that was distributed with this source code.
00009  */
00010 
00011 //@require 'Swift/Events/EventObject.php';
00012 
00013 /**
00014  * Generated when the state of a Transport is changed (i.e. stopped/started).
00015  * @package Swift
00016  * @subpackage Events
00017  * @author Chris Corbyn
00018  */
00019 class Swift_Events_TransportChangeEvent extends Swift_Events_EventObject
00020 {
00021 
00022   /**
00023    * Get the Transport.
00024    * @return Swift_Transport
00025    */
00026   public function getTransport()
00027   {
00028     return $this->getSource();
00029   }
00030 
00031 }