TransportChangeEvent.php 582B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. * This file is part of SwiftMailer.
  4. * (c) 2004-2009 Chris Corbyn
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. /**
  10. * Generated when the state of a Transport is changed (i.e. stopped/started).
  11. * @package Swift
  12. * @subpackage Events
  13. * @author Chris Corbyn
  14. */
  15. class Swift_Events_TransportChangeEvent extends Swift_Events_EventObject
  16. {
  17. /**
  18. * Get the Transport.
  19. * @return Swift_Transport
  20. */
  21. public function getTransport()
  22. {
  23. return $this->getSource();
  24. }
  25. }