TransportChangeEvent.php 594B

12345678910111213141516171819202122232425262728
  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. }