<?php

namespace ContainerMmke1fB;

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 getSuluForm_DynamicControllerService extends App_KernelDevDebugContainer
{
    /**
     * Gets the public 'sulu_form.dynamic_controller' shared service.
     *
     * @return \Sulu\Bundle\FormBundle\Controller\DynamicController
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'handcraftedinthealps'.\DIRECTORY_SEPARATOR.'rest-routing-bundle'.\DIRECTORY_SEPARATOR.'Routing'.\DIRECTORY_SEPARATOR.'ClassResourceInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'friendsofsymfony'.\DIRECTORY_SEPARATOR.'rest-bundle'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'ControllerTrait.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'form-bundle'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'DynamicController.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'form-bundle'.\DIRECTORY_SEPARATOR.'Repository'.\DIRECTORY_SEPARATOR.'DynamicRepository.php';

        $a = ($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container));

        return $container->services['sulu_form.dynamic_controller'] = new \Sulu\Bundle\FormBundle\Controller\DynamicController($a->getRepository('Sulu\\Bundle\\FormBundle\\Entity\\Dynamic'), ($container->privates['sulu_form.list_builder.dynamic_list_factory'] ?? $container->load('getSuluForm_ListBuilder_DynamicListFactoryService')), ($container->services['sulu_media.media_manager'] ?? self::getSuluMedia_MediaManagerService($container)), $a, ($container->privates['sulu_form.repository.form'] ?? self::getSuluForm_Repository_FormService($container)), ($container->services['fos_rest.view_handler'] ?? $container->load('getFosRest_ViewHandlerService')));
    }
}
