public static function restore($name, $cacheConfig = 'default')
    {
        if (!class_exists(Cache::class)) {
            throw new RuntimeException('You must install cakephp/cache to use Configure::restore()');
        }
        $values = Cache::read($name, $cacheConfig);
        if ($values) {
            return static::write($values);
        }

        return false;
    }