src/Filesystem/FlysystemServiceProvider.php
public function getFilesystem(ContainerInterface $container)
    {
        /** @var MountManager $mountManager */
        $mountManager = $container->get(MountManager::class);

        return $mountManager->getFilesystem($this->default);
    }
public function getFilesystem(ContainerInterface $container)
    {
        /** @var MountManager $mountManager */
        $mountManager = $container->get(MountManager::class);

        return $mountManager->getFilesystem($this->default);
    }
@param ContainerInterface $container

@return FilesystemInterface