protected function discoveredEvents()
    {
        if ($this->app->eventsAreCached()) {
            return require $this->app->getCachedEventsPath();
        }

        return $this->shouldDiscoverEvents()
                    ? $this->discoverEvents()
                    : [];
    }
protected function discoveredEvents()
    {
        if ($this->app->eventsAreCached()) {
            return require $this->app->getCachedEventsPath();
        }

        return $this->shouldDiscoverEvents()
                    ? $this->discoverEvents()
                    : [];
    }
protected function discoveredEvents ( ) { if ( $ this -> app -> eventsAreCached ( ) ) { return require $ this -> app -> getCachedEventsPath ( ) ; } return $ this -> shouldDiscoverEvents ( ) ? $ this -> discoverEvents ( ) : [ ] ; }
Get the discovered events and listeners for the application.

@return array
Get the discovered events and listeners for the application .