PageRenderTime 14ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://zoop.googlecode.com/
PHP | 35 lines | 6 code | 6 blank | 23 comment | 0 complexity | e888aef8185a423b021563133d44c9ae 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/EventListener.php';
  10. //@require 'Swift/Events/SendEvent.php';
  11. /**
  12. * Listens for Messages being sent from within the Transport system.
  13. * @package Swift
  14. * @subpackage Events
  15. * @author Chris Corbyn
  16. */
  17. interface Swift_Events_SendListener extends Swift_Events_EventListener
  18. {
  19. /**
  20. * Invoked immediately before the Message is sent.
  21. * @param Swift_Events_SendEvent $evt
  22. */
  23. public function beforeSendPerformed(Swift_Events_SendEvent $evt);
  24. /**
  25. * Invoked immediately after the Message is sent.
  26. * @param Swift_Events_SendEvent $evt
  27. */
  28. public function sendPerformed(Swift_Events_SendEvent $evt);
  29. }