protected function setupFromCache(): void
    {
        // Set the application events with said file
        $cache = $this->app->config()['cache']['events']
            ?? require $this->app->config()['events']['cacheFilePath'];

        self::$events = unserialize(
            base64_decode($cache['events'], true),
            [
                'allowed_classes' => [
                    Listener::class,
                ],
            ]
        );
    }