TYPO3 API  SVNRelease
Event.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  * This file is part of SwiftMailer.
00005  * (c) 2004-2009 Chris Corbyn
00006  *
00007  * For the full copyright and license information, please view the LICENSE
00008  * file that was distributed with this source code.
00009  */
00010 
00011 /**
00012  * The minimum interface for an Event.
00013  *
00014  * @package Swift
00015  * @subpackage Events
00016  * @author Chris Corbyn
00017  */
00018 interface Swift_Events_Event
00019 {
00020 
00021   /**
00022    * Get the source object of this event.
00023    * @return object
00024    */
00025   public function getSource();
00026 
00027   /**
00028    * Prevent this Event from bubbling any further up the stack.
00029    * @param boolean $cancel, optional
00030    */
00031   public function cancelBubble($cancel = true);
00032 
00033   /**
00034    * Returns true if this Event will not bubble any further up the stack.
00035    * @return boolean
00036    */
00037   public function bubbleCancelled();
00038 
00039 }