| 1 | <?php |
||
| 10 | abstract class AbstractEvent extends Event |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | public $eventName; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param string $eventName |
||
| 20 | */ |
||
| 21 | 26 | public function __construct(string $eventName) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | 8 | public function getEventName() : string |
|
| 33 | } |
||
| 34 |