<?php

namespace ContainerFeOmBal;

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

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

        $a = new \Sulu\Bundle\MediaBundle\Media\FormatCache\FormatCacheClearer();
        $a->add(($container->services['sulu_media.format_cache'] ?? $container->getSuluMedia_FormatCacheService()), 'local');

        $container->privates['sulu_media.command.clear_cache'] = $instance = new \Sulu\Bundle\MediaBundle\Command\ClearCacheCommand($a);

        $instance->setName('sulu:media:format:cache:clear');

        return $instance;
    }
}
