<?php

namespace ContainerYHymreF;

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 getSuluPreview_PreviewLinkControllerService extends App_KernelProdContainer
{
    /*
     * Gets the public 'sulu_preview.preview_link_controller' shared service.
     *
     * @return \Sulu\Bundle\PreviewBundle\UserInterface\Controller\PreviewLinkController
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['sulu_preview.preview_link_repository'] ?? $container->load('getSuluPreview_PreviewLinkRepositoryService'));

        return $container->services['sulu_preview.preview_link_controller'] = new \Sulu\Bundle\PreviewBundle\UserInterface\Controller\PreviewLinkController($a, new \Sulu\Bundle\PreviewBundle\Application\Manager\PreviewLinkManager($a, ($container->privates['sulu_activity.domain_event_collector'] ?? self::getSuluActivity_DomainEventCollectorService($container)), ($container->privates['sulu_preview.preview_object_provider_registry'] ?? $container->load('getSuluPreview_PreviewObjectProviderRegistryService')), ($container->services['router'] ?? self::getRouterService($container))), ($container->services['fos_rest.view_handler'] ?? $container->load('getFosRest_ViewHandlerService')), ($container->privates['security.token_storage'] ?? self::getSecurity_TokenStorageService($container)));
    }
}
