vendor/swiftmailer/lib/classes/Swift/Events/TransportChangeEvent.php
changeset 0 7f95f8617b0b
equal deleted inserted replaced
-1:000000000000 0:7f95f8617b0b
       
     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 
       
    12 /**
       
    13  * Generated when the state of a Transport is changed (i.e. stopped/started).
       
    14  * @package Swift
       
    15  * @subpackage Events
       
    16  * @author Chris Corbyn
       
    17  */
       
    18 class Swift_Events_TransportChangeEvent extends Swift_Events_EventObject
       
    19 {
       
    20   
       
    21   /**
       
    22    * Get the Transport.
       
    23    * @return Swift_Transport
       
    24    */
       
    25   public function getTransport()
       
    26   {
       
    27     return $this->getSource();
       
    28   }
       
    29   
       
    30 }