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: * Generated when the state of a Transport is changed (i.e. stopped/started).
13: * @package Swift
14: * @subpackage Events
15: * @author Chris Corbyn
16: */
17: class Swift_Events_TransportChangeEvent extends Swift_Events_EventObject
18: {
19: /**
20: * Get the Transport.
21: * @return Swift_Transport
22: */
23: public function getTransport()
24: {
25: return $this->getSource();
26: }
27: }
28: