public function getEvents() { return ['before' => ['onBefore'], 'complete' => ['onComplete'], 'error' => ['onError']]; }