<?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 getSuluSecurity_PermissionInheritanceSubscriberService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_security.permission_inheritance_subscriber' shared service.
     *
     * @return \Sulu\Bundle\SecurityBundle\EventListener\PermissionInheritanceSubscriber
     */
    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.'SecurityBundle'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'PermissionInheritanceSubscriber.php';

        $a = ($container->privates['sulu_security.access_control_manager'] ?? self::getSuluSecurity_AccessControlManagerService($container));

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

        return $container->privates['sulu_security.permission_inheritance_subscriber'] = new \Sulu\Bundle\SecurityBundle\EventListener\PermissionInheritanceSubscriber($a);
    }
}
