PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms 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
 1<?php
 2
 3/*
 4 * This file is part of SwiftMailer.
 5 * (c) 2004-2009 Chris Corbyn
 6 *
 7 * For the full copyright and license information, please view the LICENSE
 8 * file that was distributed with this source code.
 9 */
10
11//@require 'Swift/Events/EventListener.php';
12//@require 'Swift/Events/SendEvent.php';
13
14/**
15 * Listens for Messages being sent from within the Transport system.
16 * @package Swift
17 * @subpackage Events
18 * @author Chris Corbyn
19 */
20interface Swift_Events_SendListener extends Swift_Events_EventListener
21{
22  
23  /**
24   * Invoked immediately before the Message is sent.
25   * @param Swift_Events_SendEvent $evt
26   */
27  public function beforeSendPerformed(Swift_Events_SendEvent $evt);
28  
29  /**
30   * Invoked immediately after the Message is sent.
31   * @param Swift_Events_SendEvent $evt
32   */
33  public function sendPerformed(Swift_Events_SendEvent $evt);
34  
35}