src/Viserio/Component/Cache/CacheManager.php
protected function createFilesystemDriver(array $config): FilesystemCachePool
    {
        $adapter = $this->container->get($config['connection']);

        return new FilesystemCachePool(new Flysystem($adapter));
    }
protected function createFilesystemDriver(array $config): FilesystemCachePool
    {
        $adapter = $this->container->get($config['connection']);

        return new FilesystemCachePool(new Flysystem($adapter));
    }
Create an instance of the Flysystem cache driver.

@param array $config

@return \Cache\Adapter\Filesystem\FilesystemCachePool