diff options
Diffstat (limited to 'External/swiftmailer/lib/classes/Swift/Events/TransportChangeEvent.php')
-rwxr-xr-x | External/swiftmailer/lib/classes/Swift/Events/TransportChangeEvent.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/External/swiftmailer/lib/classes/Swift/Events/TransportChangeEvent.php b/External/swiftmailer/lib/classes/Swift/Events/TransportChangeEvent.php new file mode 100755 index 0000000..f069a4c --- /dev/null +++ b/External/swiftmailer/lib/classes/Swift/Events/TransportChangeEvent.php @@ -0,0 +1,31 @@ +<?php + +/* + * This file is part of SwiftMailer. + * (c) 2004-2009 Chris Corbyn + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +//@require 'Swift/Events/EventObject.php'; + +/** + * Generated when the state of a Transport is changed (i.e. stopped/started). + * @package Swift + * @subpackage Events + * @author Chris Corbyn + */ +class Swift_Events_TransportChangeEvent extends Swift_Events_EventObject +{ + + /** + * Get the Transport. + * @return Swift_Transport + */ + public function getTransport() + { + return $this->getSource(); + } + +}
\ No newline at end of file |