src/Valkyrja/Console/NativeConsole.php
protected function setupFromCache(): void
    {
        // Set the application console with said file
        $cache = $this->app->config()['cache']['console']
            ?? require $this->app->config()['console']['cacheFilePath'];

        self::$commands      = unserialize(
            base64_decode($cache['commands'], true),
            [
                'allowed_classes' => [
                    Command::class,
                ],
            ]
        );
        self::$paths         = $cache['paths'];
        self::$namedCommands = $cache['namedCommands'];
        self::$provided      = $cache['provided'];
    }
protected function setupFromCache(): void
    {
        // Set the application console with said file
        $cache = $this->app->config()['cache']['console']
            ?? require $this->app->config()['console']['cacheFilePath'];

        self::$commands      = unserialize(
            base64_decode($cache['commands'], true),
            [
                'allowed_classes' => [
                    Command::class,
                ],
            ]
        );
        self::$paths         = $cache['paths'];
        self::$namedCommands = $cache['namedCommands'];
        self::$provided      = $cache['provided'];
    }
Setup the console from cache.

@return void