Crud\Listener\ApiQueryLogListener::implementedEvents PHP Méthode

implementedEvents() public méthode

You can override this function to add you own listener callbacks We attach at priority 10 so normal bound events can run before us
public implementedEvents ( ) : array
Résultat array
    public function implementedEvents()
    {
        if (!$this->_checkRequestType('api')) {
            return [];
        }
        return ['Crud.beforeFilter' => ['callable' => [$this, 'setupLogging'], 'priority' => 1], 'Crud.beforeRender' => ['callable' => [$this, 'beforeRender'], 'priority' => 75]];
    }