<?php
class EntityManager_9a5be93 extends \Doctrine\ORM\EntityManager implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $valueHolder55dbd = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer3c226 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicProperties93068 = [
];
public function getConnection()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getConnection', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getConnection();
}
public function getMetadataFactory()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getMetadataFactory', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getMetadataFactory();
}
public function getExpressionBuilder()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getExpressionBuilder', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getExpressionBuilder();
}
public function beginTransaction()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'beginTransaction', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->beginTransaction();
}
public function getCache()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getCache', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getCache();
}
public function transactional($func)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'transactional', array('func' => $func), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->transactional($func);
}
public function commit()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'commit', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->commit();
}
public function rollback()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'rollback', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->rollback();
}
public function getClassMetadata($className)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getClassMetadata', array('className' => $className), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getClassMetadata($className);
}
public function createQuery($dql = '')
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'createQuery', array('dql' => $dql), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->createQuery($dql);
}
public function createNamedQuery($name)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'createNamedQuery', array('name' => $name), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->createNamedQuery($name);
}
public function createNativeQuery($sql, \Doctrine\ORM\Query\ResultSetMapping $rsm)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'createNativeQuery', array('sql' => $sql, 'rsm' => $rsm), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->createNativeQuery($sql, $rsm);
}
public function createNamedNativeQuery($name)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'createNamedNativeQuery', array('name' => $name), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->createNamedNativeQuery($name);
}
public function createQueryBuilder()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'createQueryBuilder', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->createQueryBuilder();
}
public function flush($entity = null)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'flush', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->flush($entity);
}
public function find($className, $id, $lockMode = null, $lockVersion = null)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'find', array('className' => $className, 'id' => $id, 'lockMode' => $lockMode, 'lockVersion' => $lockVersion), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->find($className, $id, $lockMode, $lockVersion);
}
public function getReference($entityName, $id)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getReference', array('entityName' => $entityName, 'id' => $id), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getReference($entityName, $id);
}
public function getPartialReference($entityName, $identifier)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getPartialReference', array('entityName' => $entityName, 'identifier' => $identifier), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getPartialReference($entityName, $identifier);
}
public function clear($entityName = null)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'clear', array('entityName' => $entityName), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->clear($entityName);
}
public function close()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'close', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->close();
}
public function persist($entity)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'persist', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->persist($entity);
}
public function remove($entity)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'remove', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->remove($entity);
}
public function refresh($entity)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'refresh', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->refresh($entity);
}
public function detach($entity)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'detach', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->detach($entity);
}
public function merge($entity)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'merge', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->merge($entity);
}
public function copy($entity, $deep = false)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'copy', array('entity' => $entity, 'deep' => $deep), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->copy($entity, $deep);
}
public function lock($entity, $lockMode, $lockVersion = null)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'lock', array('entity' => $entity, 'lockMode' => $lockMode, 'lockVersion' => $lockVersion), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->lock($entity, $lockMode, $lockVersion);
}
public function getRepository($entityName)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getRepository', array('entityName' => $entityName), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getRepository($entityName);
}
public function contains($entity)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'contains', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->contains($entity);
}
public function getEventManager()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getEventManager', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getEventManager();
}
public function getConfiguration()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getConfiguration', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getConfiguration();
}
public function isOpen()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'isOpen', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->isOpen();
}
public function getUnitOfWork()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getUnitOfWork', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getUnitOfWork();
}
public function getHydrator($hydrationMode)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getHydrator', array('hydrationMode' => $hydrationMode), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getHydrator($hydrationMode);
}
public function newHydrator($hydrationMode)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'newHydrator', array('hydrationMode' => $hydrationMode), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->newHydrator($hydrationMode);
}
public function getProxyFactory()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getProxyFactory', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getProxyFactory();
}
public function initializeObject($obj)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'initializeObject', array('obj' => $obj), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->initializeObject($obj);
}
public function getFilters()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'getFilters', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->getFilters();
}
public function isFiltersStateClean()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'isFiltersStateClean', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->isFiltersStateClean();
}
public function hasFilters()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'hasFilters', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return $this->valueHolder55dbd->hasFilters();
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$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->initializer3c226 = $initializer;
return $instance;
}
protected function __construct(\Doctrine\DBAL\Connection $conn, \Doctrine\ORM\Configuration $config, \Doctrine\Common\EventManager $eventManager)
{
static $reflection;
if (! $this->valueHolder55dbd) {
$reflection = $reflection ?: new \ReflectionClass('Doctrine\\ORM\\EntityManager');
$this->valueHolder55dbd = $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->valueHolder55dbd->__construct($conn, $config, $eventManager);
}
public function & __get($name)
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, '__get', ['name' => $name], $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
if (isset(self::$publicProperties93068[$name])) {
return $this->valueHolder55dbd->$name;
}
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder55dbd;
$backtrace = debug_backtrace(false);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
get_parent_class($this),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
return;
}
$targetObject = $this->valueHolder55dbd;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true);
$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->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder55dbd;
return $targetObject->$name = $value;
return;
}
$targetObject = $this->valueHolder55dbd;
$accessor = function & () use ($targetObject, $name, $value) {
return $targetObject->$name = $value;
};
$backtrace = debug_backtrace(true);
$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->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, '__isset', array('name' => $name), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder55dbd;
return isset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder55dbd;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true);
$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->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, '__unset', array('name' => $name), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder55dbd;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder55dbd;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
};
$backtrace = debug_backtrace(true);
$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 __clone()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, '__clone', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
$this->valueHolder55dbd = clone $this->valueHolder55dbd;
}
public function __sleep()
{
$this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, '__sleep', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
return array('valueHolder55dbd');
}
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)
{
$this->initializer3c226 = $initializer;
}
public function getProxyInitializer()
{
return $this->initializer3c226;
}
public function initializeProxy() : bool
{
return $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd, $this, 'initializeProxy', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd = $valueHolder55dbd;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder55dbd;
}
public function getWrappedValueHolderValue() : ?object
{
return $this->valueHolder55dbd;
}
}