TYPO3  7.6
EventObject.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of SwiftMailer.
5  * (c) 2004-2009 Chris Corbyn
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10 
17 {
19  private $_source;
20 
22  private $_bubbleCancelled = false;
23 
29  public function __construct($source)
30  {
31  $this->_source = $source;
32  }
33 
39  public function getSource()
40  {
41  return $this->_source;
42  }
43 
49  public function cancelBubble($cancel = true)
50  {
51  $this->_bubbleCancelled = $cancel;
52  }
53 
59  public function bubbleCancelled()
60  {
62  }
63 }