1<?php 2 3/** 4 * Swift Mailer Before Send Event Listener Interface 5 * Please read the LICENSE file 6 * @copyright Chris Corbyn <chris@w3style.co.uk> 7 * @author Chris Corbyn <chris@w3style.co.uk> 8 * @package Swift_Events 9 * @license GNU Lesser General Public License 10 */ 11 12 13/** 14 * Contains the list of methods a plugin requiring the use of a SendEvent before the message is sent must implement 15 * @package Swift_Events 16 * @author Chris Corbyn <chris@w3style.co.uk> 17 */ 18interface Swift_Events_BeforeSendListener extends Swift_Events_Listener 19{ 20 /** 21 * Executes just before Swift sends a message 22 * @param Swift_Events_SendEvent Information about the message being sent 23 */ 24 public function beforeSendPerformed(Swift_Events_SendEvent $e); 25} 26