Cake\Controller\Component\AuthComponent::implementedEvents PHP Method

implementedEvents() public method

Events supported by this component.
public implementedEvents ( ) : array
return 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();
 }