public function implementedEvents() { return ['Controller.initialize' => 'authCheck', 'Controller.startup' => 'startup']; }
/** * Events supported by this component. * * @return array */ public function implementedEvents() { return ['Controller.beforeRender' => 'beforeRender'] + parent::implementedEvents(); }