I attached the event manager and it works except for these 2 request events? Am i missing something? https://docs.phalcon.io/en/latest/reference/applications.html#application-events

// Setup the application
        $this->app = new \Phalcon\Mvc\Application();
        $this->app->setDI($this->di);
        $this->app->registerModules($this->config['modules']);        
        $this->eventManager = new \Phalcon\Events\Manager();
        $this->app->setEventsManager($this->eventManager);        
        $this->eventManager->attach('application:beforeHandleRequest', function($event, $application){
            var_dump($event, $application);
        });