<?php

namespace ContainerRqxV2Jh;
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'doctrine'.\DIRECTORY_SEPARATOR.'persistence'.\DIRECTORY_SEPARATOR.'lib'.\DIRECTORY_SEPARATOR.'Doctrine'.\DIRECTORY_SEPARATOR.'Persistence'.\DIRECTORY_SEPARATOR.'ObjectManager.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'doctrine'.\DIRECTORY_SEPARATOR.'orm'.\DIRECTORY_SEPARATOR.'lib'.\DIRECTORY_SEPARATOR.'Doctrine'.\DIRECTORY_SEPARATOR.'ORM'.\DIRECTORY_SEPARATOR.'EntityManagerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'doctrine'.\DIRECTORY_SEPARATOR.'orm'.\DIRECTORY_SEPARATOR.'lib'.\DIRECTORY_SEPARATOR.'Doctrine'.\DIRECTORY_SEPARATOR.'ORM'.\DIRECTORY_SEPARATOR.'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 $valueHolder8d08a = null;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return $this->valueHolder8d08a->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->initializerf898b = $initializer;

        return $instance;
    }

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

        if (! $this->valueHolder8d08a) {
            $reflection = $reflection ?? new \ReflectionClass('Doctrine\\ORM\\EntityManager');
            $this->valueHolder8d08a = $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->valueHolder8d08a->__construct($conn, $config, $eventManager);
    }

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

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

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

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

            $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->valueHolder8d08a;
        $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->initializerf898b && ($this->initializerf898b->__invoke($valueHolder8d08a, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerf898b) || 1) && $this->valueHolder8d08a = $valueHolder8d08a;

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

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

            $targetObject->$name = $value;

            return $targetObject->$name;
        }

        $targetObject = $this->valueHolder8d08a;
        $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->initializerf898b && ($this->initializerf898b->__invoke($valueHolder8d08a, $this, '__isset', array('name' => $name), $this->initializerf898b) || 1) && $this->valueHolder8d08a = $valueHolder8d08a;

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

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

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

        $targetObject = $this->valueHolder8d08a;
        $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->initializerf898b && ($this->initializerf898b->__invoke($valueHolder8d08a, $this, '__unset', array('name' => $name), $this->initializerf898b) || 1) && $this->valueHolder8d08a = $valueHolder8d08a;

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

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

            unset($targetObject->$name);

            return;
        }

        $targetObject = $this->valueHolder8d08a;
        $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->initializerf898b && ($this->initializerf898b->__invoke($valueHolder8d08a, $this, '__clone', array(), $this->initializerf898b) || 1) && $this->valueHolder8d08a = $valueHolder8d08a;

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

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

        return array('valueHolder8d08a');
    }

    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->initializerf898b = $initializer;
    }

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

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

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

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

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