src/Viserio/Component/Filesystem/Provider/FilesystemServiceProvider.php
public function getFactories(): array
    {
        return [
            FilesystemManager::class => [self::class, 'createFilesystemManager'],
            'flysystem'              => static function (ContainerInterface $container) {
                return $container->get(FilesystemManager::class);
            },
            'flysystem.connection' => [self::class, 'createFlysystemConnection'],
            Filesystem::class      => static function (ContainerInterface $container) {
                return $container->get(FilesystemManager::class);
            },
            FilesystemInterface::class => static function (ContainerInterface $container) {
                return $container->get(FilesystemManager::class);
            },
            CachedFactory::class      => [self::class, 'createCachedFactory'],
            'flysystem.cachedfactory' => static function (ContainerInterface $container) {
                return $container->get(CachedFactory::class);
            },
        ];
    }
public function getFactories(): array
    {
        return [
            FilesystemManager::class => [self::class, 'createFilesystemManager'],
            'flysystem'              => static function (ContainerInterface $container) {
                return $container->get(FilesystemManager::class);
            },
            'flysystem.connection' => [self::class, 'createFlysystemConnection'],
            Filesystem::class      => static function (ContainerInterface $container) {
                return $container->get(FilesystemManager::class);
            },
            FilesystemInterface::class => static function (ContainerInterface $container) {
                return $container->get(FilesystemManager::class);
            },
            CachedFactory::class      => [self::class, 'createCachedFactory'],
            'flysystem.cachedfactory' => static function (ContainerInterface $container) {
                return $container->get(CachedFactory::class);
            },
        ];
    }
{@inheritdoc}