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

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

        self::$services = unserialize(
            base64_decode($cache['services'], true),
            [
                'allowed_classes' => [
                    Service::class,
                ],
            ]
        );
        self::$provided = $cache['provided'];
        self::$aliases  = $cache['aliases'];
    }
Setup the container from cache.

@return void