<?php

namespace ContainerRBLbIxO;

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 getSuluHeadless_ContentResolver_SingleCategorySelectionService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_headless.content_resolver.single_category_selection' shared service.
     *
     * @return \Sulu\Bundle\HeadlessBundle\Content\ContentTypeResolver\SingleCategorySelectionResolver
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'headless-bundle'.\DIRECTORY_SEPARATOR.'Content'.\DIRECTORY_SEPARATOR.'ContentTypeResolver'.\DIRECTORY_SEPARATOR.'ContentTypeResolverInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'headless-bundle'.\DIRECTORY_SEPARATOR.'Content'.\DIRECTORY_SEPARATOR.'ContentTypeResolver'.\DIRECTORY_SEPARATOR.'SingleCategorySelectionResolver.php';

        return $container->privates['sulu_headless.content_resolver.single_category_selection'] = new \Sulu\Bundle\HeadlessBundle\Content\ContentTypeResolver\SingleCategorySelectionResolver(($container->services['sulu_category.category_manager'] ?? self::getSuluCategory_CategoryManagerService($container)), ($container->privates['sulu_headless.serializer.category'] ?? $container->load('getSuluHeadless_Serializer_CategoryService')));
    }
}
