<?php

namespace ContainerVfx5Gz6;
include_once \dirname(__DIR__, 4).'/vendor/doctrine/persistence/lib/Doctrine/Persistence/ObjectManager.php';
include_once \dirname(__DIR__, 4).'/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManagerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php';

class EntityManager_9a5be93 extends \Doctrine\ORM\EntityManager implements \ProxyManager\Proxy\VirtualProxyInterface
{
    /**
     * @var \Doctrine\ORM\EntityManager|null wrapped object, if the proxy is initialized
     */
    private $valueHolderb1840 = null;

    /**
     * @var \Closure|null initializer responsible for generating the wrapped object
     */
    private $initializerb49ab = null;

    /**
     * @var bool[] map of public properties of the parent class
     */
    private static $publicProperties05a9e = [
        
    ];

    public function getConnection()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getConnection', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getConnection();
    }

    public function getMetadataFactory()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getMetadataFactory', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getMetadataFactory();
    }

    public function getExpressionBuilder()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getExpressionBuilder', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getExpressionBuilder();
    }

    public function beginTransaction()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'beginTransaction', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->beginTransaction();
    }

    public function getCache()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getCache', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getCache();
    }

    public function transactional($func)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'transactional', array('func' => $func), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->transactional($func);
    }

    public function wrapInTransaction(callable $func)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'wrapInTransaction', array('func' => $func), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->wrapInTransaction($func);
    }

    public function commit()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'commit', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->commit();
    }

    public function rollback()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'rollback', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->rollback();
    }

    public function getClassMetadata($className)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getClassMetadata', array('className' => $className), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getClassMetadata($className);
    }

    public function createQuery($dql = '')
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'createQuery', array('dql' => $dql), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->createQuery($dql);
    }

    public function createNamedQuery($name)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'createNamedQuery', array('name' => $name), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->createNamedQuery($name);
    }

    public function createNativeQuery($sql, \Doctrine\ORM\Query\ResultSetMapping $rsm)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'createNativeQuery', array('sql' => $sql, 'rsm' => $rsm), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->createNativeQuery($sql, $rsm);
    }

    public function createNamedNativeQuery($name)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'createNamedNativeQuery', array('name' => $name), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->createNamedNativeQuery($name);
    }

    public function createQueryBuilder()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'createQueryBuilder', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->createQueryBuilder();
    }

    public function flush($entity = null)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'flush', array('entity' => $entity), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->flush($entity);
    }

    public function find($className, $id, $lockMode = null, $lockVersion = null)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'find', array('className' => $className, 'id' => $id, 'lockMode' => $lockMode, 'lockVersion' => $lockVersion), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->find($className, $id, $lockMode, $lockVersion);
    }

    public function getReference($entityName, $id)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getReference', array('entityName' => $entityName, 'id' => $id), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getReference($entityName, $id);
    }

    public function getPartialReference($entityName, $identifier)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getPartialReference', array('entityName' => $entityName, 'identifier' => $identifier), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getPartialReference($entityName, $identifier);
    }

    public function clear($entityName = null)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'clear', array('entityName' => $entityName), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->clear($entityName);
    }

    public function close()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'close', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->close();
    }

    public function persist($entity)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'persist', array('entity' => $entity), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->persist($entity);
    }

    public function remove($entity)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'remove', array('entity' => $entity), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->remove($entity);
    }

    public function refresh($entity)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'refresh', array('entity' => $entity), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->refresh($entity);
    }

    public function detach($entity)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'detach', array('entity' => $entity), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->detach($entity);
    }

    public function merge($entity)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'merge', array('entity' => $entity), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->merge($entity);
    }

    public function copy($entity, $deep = false)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'copy', array('entity' => $entity, 'deep' => $deep), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->copy($entity, $deep);
    }

    public function lock($entity, $lockMode, $lockVersion = null)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'lock', array('entity' => $entity, 'lockMode' => $lockMode, 'lockVersion' => $lockVersion), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->lock($entity, $lockMode, $lockVersion);
    }

    public function getRepository($entityName)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getRepository', array('entityName' => $entityName), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getRepository($entityName);
    }

    public function contains($entity)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'contains', array('entity' => $entity), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->contains($entity);
    }

    public function getEventManager()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getEventManager', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getEventManager();
    }

    public function getConfiguration()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getConfiguration', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getConfiguration();
    }

    public function isOpen()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'isOpen', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->isOpen();
    }

    public function getUnitOfWork()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getUnitOfWork', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getUnitOfWork();
    }

    public function getHydrator($hydrationMode)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getHydrator', array('hydrationMode' => $hydrationMode), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getHydrator($hydrationMode);
    }

    public function newHydrator($hydrationMode)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'newHydrator', array('hydrationMode' => $hydrationMode), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->newHydrator($hydrationMode);
    }

    public function getProxyFactory()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getProxyFactory', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getProxyFactory();
    }

    public function initializeObject($obj)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'initializeObject', array('obj' => $obj), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->initializeObject($obj);
    }

    public function getFilters()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'getFilters', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->getFilters();
    }

    public function isFiltersStateClean()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'isFiltersStateClean', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->isFiltersStateClean();
    }

    public function hasFilters()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'hasFilters', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return $this->valueHolderb1840->hasFilters();
    }

    /**
     * Constructor for lazy initialization
     *
     * @param \Closure|null $initializer
     */
    public static function staticProxyConstructor($initializer)
    {
        static $reflection;

        $reflection = $reflection ?? new \ReflectionClass(__CLASS__);
        $instance   = $reflection->newInstanceWithoutConstructor();

        \Closure::bind(function (\Doctrine\ORM\EntityManager $instance) {
            unset($instance->config, $instance->conn, $instance->metadataFactory, $instance->unitOfWork, $instance->eventManager, $instance->proxyFactory, $instance->repositoryFactory, $instance->expressionBuilder, $instance->closed, $instance->filterCollection, $instance->cache);
        }, $instance, 'Doctrine\\ORM\\EntityManager')->__invoke($instance);

        $instance->initializerb49ab = $initializer;

        return $instance;
    }

    protected function __construct(\Doctrine\DBAL\Connection $conn, \Doctrine\ORM\Configuration $config, \Doctrine\Common\EventManager $eventManager)
    {
        static $reflection;

        if (! $this->valueHolderb1840) {
            $reflection = $reflection ?? new \ReflectionClass('Doctrine\\ORM\\EntityManager');
            $this->valueHolderb1840 = $reflection->newInstanceWithoutConstructor();
        \Closure::bind(function (\Doctrine\ORM\EntityManager $instance) {
            unset($instance->config, $instance->conn, $instance->metadataFactory, $instance->unitOfWork, $instance->eventManager, $instance->proxyFactory, $instance->repositoryFactory, $instance->expressionBuilder, $instance->closed, $instance->filterCollection, $instance->cache);
        }, $this, 'Doctrine\\ORM\\EntityManager')->__invoke($this);

        }

        $this->valueHolderb1840->__construct($conn, $config, $eventManager);
    }

    public function & __get($name)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, '__get', ['name' => $name], $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        if (isset(self::$publicProperties05a9e[$name])) {
            return $this->valueHolderb1840->$name;
        }

        $realInstanceReflection = new \ReflectionClass('Doctrine\\ORM\\EntityManager');

        if (! $realInstanceReflection->hasProperty($name)) {
            $targetObject = $this->valueHolderb1840;

            $backtrace = debug_backtrace(false, 1);
            trigger_error(
                sprintf(
                    'Undefined property: %s::$%s in %s on line %s',
                    $realInstanceReflection->getName(),
                    $name,
                    $backtrace[0]['file'],
                    $backtrace[0]['line']
                ),
                \E_USER_NOTICE
            );
            return $targetObject->$name;
        }

        $targetObject = $this->valueHolderb1840;
        $accessor = function & () use ($targetObject, $name) {
            return $targetObject->$name;
        };
        $backtrace = debug_backtrace(true, 2);
        $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
        $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
        $returnValue = & $accessor();

        return $returnValue;
    }

    public function __set($name, $value)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        $realInstanceReflection = new \ReflectionClass('Doctrine\\ORM\\EntityManager');

        if (! $realInstanceReflection->hasProperty($name)) {
            $targetObject = $this->valueHolderb1840;

            $targetObject->$name = $value;

            return $targetObject->$name;
        }

        $targetObject = $this->valueHolderb1840;
        $accessor = function & () use ($targetObject, $name, $value) {
            $targetObject->$name = $value;

            return $targetObject->$name;
        };
        $backtrace = debug_backtrace(true, 2);
        $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
        $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
        $returnValue = & $accessor();

        return $returnValue;
    }

    public function __isset($name)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, '__isset', array('name' => $name), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        $realInstanceReflection = new \ReflectionClass('Doctrine\\ORM\\EntityManager');

        if (! $realInstanceReflection->hasProperty($name)) {
            $targetObject = $this->valueHolderb1840;

            return isset($targetObject->$name);
        }

        $targetObject = $this->valueHolderb1840;
        $accessor = function () use ($targetObject, $name) {
            return isset($targetObject->$name);
        };
        $backtrace = debug_backtrace(true, 2);
        $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
        $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
        $returnValue = $accessor();

        return $returnValue;
    }

    public function __unset($name)
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, '__unset', array('name' => $name), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        $realInstanceReflection = new \ReflectionClass('Doctrine\\ORM\\EntityManager');

        if (! $realInstanceReflection->hasProperty($name)) {
            $targetObject = $this->valueHolderb1840;

            unset($targetObject->$name);

            return;
        }

        $targetObject = $this->valueHolderb1840;
        $accessor = function () use ($targetObject, $name) {
            unset($targetObject->$name);

            return;
        };
        $backtrace = debug_backtrace(true, 2);
        $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
        $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
        $accessor();
    }

    public function __clone()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, '__clone', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        $this->valueHolderb1840 = clone $this->valueHolderb1840;
    }

    public function __sleep()
    {
        $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, '__sleep', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;

        return array('valueHolderb1840');
    }

    public function __wakeup()
    {
        \Closure::bind(function (\Doctrine\ORM\EntityManager $instance) {
            unset($instance->config, $instance->conn, $instance->metadataFactory, $instance->unitOfWork, $instance->eventManager, $instance->proxyFactory, $instance->repositoryFactory, $instance->expressionBuilder, $instance->closed, $instance->filterCollection, $instance->cache);
        }, $this, 'Doctrine\\ORM\\EntityManager')->__invoke($this);
    }

    public function setProxyInitializer(\Closure $initializer = null) : void
    {
        $this->initializerb49ab = $initializer;
    }

    public function getProxyInitializer() : ?\Closure
    {
        return $this->initializerb49ab;
    }

    public function initializeProxy() : bool
    {
        return $this->initializerb49ab && ($this->initializerb49ab->__invoke($valueHolderb1840, $this, 'initializeProxy', array(), $this->initializerb49ab) || 1) && $this->valueHolderb1840 = $valueHolderb1840;
    }

    public function isProxyInitialized() : bool
    {
        return null !== $this->valueHolderb1840;
    }

    public function getWrappedValueHolderValue()
    {
        return $this->valueHolderb1840;
    }
}

if (!\class_exists('EntityManager_9a5be93', false)) {
    \class_alias(__NAMESPACE__.'\\EntityManager_9a5be93', 'EntityManager_9a5be93', false);
}
