<?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 getSuluPage_PageRemoveSubscriberService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_page.page_remove_subscriber' shared service.
     *
     * @return \Sulu\Bundle\PageBundle\EventListener\PageRemoveSubscriber
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'PageBundle'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'PageRemoveSubscriber.php';

        $a = ($container->services['sulu.repository.access_control'] ?? self::getSulu_Repository_AccessControlService($container));

        if (isset($container->privates['sulu_page.page_remove_subscriber'])) {
            return $container->privates['sulu_page.page_remove_subscriber'];
        }
        $b = ($container->privates['security.helper'] ?? self::getSecurity_HelperService($container));

        if (isset($container->privates['sulu_page.page_remove_subscriber'])) {
            return $container->privates['sulu_page.page_remove_subscriber'];
        }

        return $container->privates['sulu_page.page_remove_subscriber'] = new \Sulu\Bundle\PageBundle\EventListener\PageRemoveSubscriber(($container->services['sulu.phpcr.session'] ?? self::getSulu_Phpcr_SessionService($container)), $a, ($container->privates['sulu_security.system_store'] ?? self::getSuluSecurity_SystemStoreService($container)), $b, $container->parameters['sulu_security.permissions']);
    }
}
