<?php

namespace ContainerU94LzIy;
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 $valueHolder45146 = null;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return $this->valueHolder45146->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->initializer0192a = $initializer;

        return $instance;
    }

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

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

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

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

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

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

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

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

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

            $targetObject->$name = $value;

            return $targetObject->$name;
        }

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

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

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

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

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

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

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

            unset($targetObject->$name);

            return;
        }

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

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

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

        return array('valueHolder45146');
    }

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

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

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

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

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

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