<?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 getSuluHeadless_Serializer_CategoryService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_headless.serializer.category' shared service.
     *
     * @return \Sulu\Bundle\HeadlessBundle\Content\Serializer\CategorySerializer
     */
    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.'Serializer'.\DIRECTORY_SEPARATOR.'CategorySerializerInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'headless-bundle'.\DIRECTORY_SEPARATOR.'Content'.\DIRECTORY_SEPARATOR.'Serializer'.\DIRECTORY_SEPARATOR.'CategorySerializer.php';

        return $container->privates['sulu_headless.serializer.category'] = new \Sulu\Bundle\HeadlessBundle\Content\Serializer\CategorySerializer(($container->services['sulu_category.category_manager'] ?? self::getSuluCategory_CategoryManagerService($container)), ($container->services['sulu_core.array_serializer'] ?? self::getSuluCore_ArraySerializerService($container)), ($container->privates['sulu_headless.serializer.media'] ?? $container->load('getSuluHeadless_Serializer_MediaService')));
    }
}
