| 1 | <?php |
||
| 14 | abstract class Event |
||
| 15 | { |
||
| 16 | protected string $id = ''; |
||
|
|
|||
| 17 | protected bool $stopPropagation = false; |
||
| 18 | |||
| 19 | public function __construct($id = '') |
||
| 20 | { |
||
| 21 | $this->id = $id; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return boolean |
||
| 26 | */ |
||
| 27 | public function hasStopPropagation(): bool |
||
| 28 | { |
||
| 29 | return $this->stopPropagation; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param boolean $stopPropagation |
||
| 34 | */ |
||
| 45 |