src/Viserio/Component/Cache/Provider/CacheServiceProvider.php
public static function createCacheManager(ContainerInterface $container): CacheManagerContract
    {
        $cache = new CacheManager($container->get('config'));
        $cache->setContainer($container);

        return $cache;
    }
public static function createCacheManager(ContainerInterface $container): CacheManagerContract
    {
        $cache = new CacheManager($container->get('config'));
        $cache->setContainer($container);

        return $cache;
    }
Create a cache manger instance.

@param \Psr\Container\ContainerInterface $container

@return \Viserio\Component\Contract\Cache\Manager