TransportChangeEvent.php 568 B

123456789101112131415161718192021222324252627
  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. *
  12. * @author Chris Corbyn
  13. */
  14. class Swift_Events_TransportChangeEvent extends Swift_Events_EventObject
  15. {
  16. /**
  17. * Get the Transport.
  18. *
  19. * @return Swift_Transport
  20. */
  21. public function getTransport()
  22. {
  23. return $this->getSource();
  24. }
  25. }