Cake\Controller\Component\AuthComponent::implementedEvents PHP Метод

implementedEvents() публичный Метод

Events supported by this component.
public implementedEvents ( ) : array
Результат array
    public function implementedEvents()
    {
        return ['Controller.initialize' => 'authCheck', 'Controller.startup' => 'startup'];
    }

Usage Example

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