public function createCache($name): Cache
    {
        if (!$this->cacheExists($name)) {
            $this->ensureCacheDir();
            /** @var Cache $cache */
            $cache = $this->app->make(Cache::class);
            $cache->setName($name);
            $cache->createCacheDir();
            $this->caches[$name] = $cache;
        }

        return $this->caches[$name];
    }