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