<?php

namespace ContainerS8JkUPu;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/**
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getSuluMedia_Command_FormatCache_RegenerateService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_media.command.format_cache.regenerate' shared service.
     *
     * @return \Sulu\Bundle\MediaBundle\Command\FormatCacheRegenerateCommand
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'SignalableCommandInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'MediaBundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'FormatCacheRegenerateCommand.php';

        $container->privates['sulu_media.command.format_cache.regenerate'] = $instance = new \Sulu\Bundle\MediaBundle\Command\FormatCacheRegenerateCommand(($container->privates['filesystem'] ??= new \Symfony\Component\Filesystem\Filesystem()), ($container->services['sulu_media.format_manager'] ?? self::getSuluMedia_FormatManagerService($container)), (\dirname(__DIR__, 5).'/public/uploads/media'));

        $instance->setName('sulu:media:regenerate-formats');
        $instance->setDescription('Loops over sulu image cache, and regenerates the existing images');

        return $instance;
    }
}
