public function actionEvent() { $component = new Common(); $component->on(Common::EVENT_NOTIFY, [$component, 'notifyEventHandler']); $component->makeEvent(); }