<?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 getSuluTrash_DoctrineRestoreHelperService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_trash.doctrine_restore_helper' shared service.
     *
     * @return \Sulu\Bundle\TrashBundle\Application\DoctrineRestoreHelper\DoctrineRestoreHelper
     */
    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.'TrashBundle'.\DIRECTORY_SEPARATOR.'Application'.\DIRECTORY_SEPARATOR.'DoctrineRestoreHelper'.\DIRECTORY_SEPARATOR.'DoctrineRestoreHelperInterface.php';
        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.'TrashBundle'.\DIRECTORY_SEPARATOR.'Application'.\DIRECTORY_SEPARATOR.'DoctrineRestoreHelper'.\DIRECTORY_SEPARATOR.'DoctrineRestoreHelper.php';

        $a = ($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container));

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

        return $container->privates['sulu_trash.doctrine_restore_helper'] = new \Sulu\Bundle\TrashBundle\Application\DoctrineRestoreHelper\DoctrineRestoreHelper($a);
    }
}
