1<?php 2 3/** 4 * Swift Mailer Before Command 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 CommandEvent, before it is sent must implement 15 * @package Swift_Events 16 * @author Chris Corbyn <chris@w3style.co.uk> 17 */ 18interface Swift_Events_BeforeCommandListener extends Swift_Events_Listener 19{ 20 /** 21 * Executes just before Swift sends a command 22 * @param Swift_Events_CommandEvent Information about the being command sent 23 */ 24 public function beforeCommandSent(Swift_Events_CommandEvent $e); 25} 26