| 1 | <?php |
||
| 23 | abstract class AbstractEvent extends Event { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Event name. |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | private $eventName; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Constructor. |
||
| 34 | * |
||
| 35 | * @param string $eventName The event name. |
||
| 36 | */ |
||
| 37 | protected function __construct($eventName) { |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get the event name. |
||
| 43 | * |
||
| 44 | * @return string Returns the event name. |
||
| 45 | */ |
||
| 46 | public function getEventName() { |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Set the event name. |
||
| 52 | * |
||
| 53 | * @param string $eventName The event name. |
||
| 54 | * @return AbstractBootstrapEvent Returns this Bootstrap event. |
||
| 55 | */ |
||
| 56 | protected function setEventName($eventName) { |
||
| 60 | |||
| 61 | } |
||
| 62 |