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