/framework/vendor/swift/lib/classes/Swift/Events/TransportChangeEvent.php
PHP | 31 lines | 8 code | 5 blank | 18 comment | 0 complexity | cd5d544eb9b9f05644cfa16d4af4abc9 MD5 | raw 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 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 */ 19class 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}