<?php

namespace ContainerBnDMNJc;

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_ContactService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_headless.serializer.contact' shared service.
     *
     * @return \Sulu\Bundle\HeadlessBundle\Content\Serializer\ContactSerializer
     */
    public static function do($container, $lazyLoad = true)
    {
        return $container->privates['sulu_headless.serializer.contact'] = new \Sulu\Bundle\HeadlessBundle\Content\Serializer\ContactSerializer(($container->services['sulu_contact.contact_manager'] ?? self::getSuluContact_ContactManagerService($container)), ($container->services['sulu_core.array_serializer'] ?? self::getSuluCore_ArraySerializerService($container)), ($container->services['sulu_media.media_manager'] ?? self::getSuluMedia_MediaManagerService($container)), ($container->privates['sulu_headless.serializer.media'] ?? $container->load('getSuluHeadless_Serializer_MediaService')), ($container->privates['sulu_contact.contact_title_repository'] ?? self::getSuluContact_ContactTitleRepositoryService($container)), ($container->services['doctrine'] ?? self::getDoctrineService($container))->getRepository('Sulu\\Bundle\\ContactBundle\\Entity\\Position'), ($container->privates['sulu_contact.reference_store.contact'] ??= new \Sulu\Bundle\WebsiteBundle\ReferenceStore\ReferenceStore()));
    }
}
