PageRenderTime 21ms CodeModel.GetById 7ms RepoModel.GetById 0ms app.codeStats 0ms

/framework/vendor/swift/lib/classes/Swift/Events/TransportChangeEvent.php

http://zoop.googlecode.com/
PHP | 31 lines | 8 code | 5 blank | 18 comment | 0 complexity | cd5d544eb9b9f05644cfa16d4af4abc9 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.1
  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. //@require 'Swift/Events/EventObject.php';
  10. /**
  11. * Generated when the state of a Transport is changed (i.e. stopped/started).
  12. * @package Swift
  13. * @subpackage Events
  14. * @author Chris Corbyn
  15. */
  16. class Swift_Events_TransportChangeEvent extends Swift_Events_EventObject
  17. {
  18. /**
  19. * Get the Transport.
  20. * @return Swift_Transport
  21. */
  22. public function getTransport()
  23. {
  24. return $this->getSource();
  25. }
  26. }