| 1 | <?php |
||
| 9 | class StartGreeter implements ListenerInterfaceExpApplication |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ChatNotification |
||
| 13 | */ |
||
| 14 | private $chatNotification; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * StartGreeter constructor. |
||
| 18 | * @param ChatNotification $chatNotification |
||
| 19 | */ |
||
| 20 | public function __construct(ChatNotification $chatNotification) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * called at eXpansion init |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function onApplicationInit() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * called when init is done and callbacks are enabled |
||
| 37 | * |
||
| 38 | * @return void |
||
| 39 | */ |
||
| 40 | public function onApplicationReady() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * called when requesting application stop |
||
| 55 | * |
||
| 56 | * @return void |
||
| 57 | */ |
||
| 58 | public function onApplicationStop() |
||
| 62 | } |
||
| 63 |