var/cache/dev/ContainerMn6eAtP/EntityManager_9a5be93.php line 214

Open in your IDE?
  1. <?php
  2. class EntityManager_9a5be93 extends \Doctrine\ORM\EntityManager implements \ProxyManager\Proxy\VirtualProxyInterface
  3. {
  4.     /**
  5.      * @var \Closure|null initializer responsible for generating the wrapped object
  6.      */
  7.     private $valueHolder55dbd null;
  8.     /**
  9.      * @var \Closure|null initializer responsible for generating the wrapped object
  10.      */
  11.     private $initializer3c226 null;
  12.     /**
  13.      * @var bool[] map of public properties of the parent class
  14.      */
  15.     private static $publicProperties93068 = [
  16.         
  17.     ];
  18.     public function getConnection()
  19.     {
  20.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getConnection', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  21.         return $this->valueHolder55dbd->getConnection();
  22.     }
  23.     public function getMetadataFactory()
  24.     {
  25.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getMetadataFactory', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  26.         return $this->valueHolder55dbd->getMetadataFactory();
  27.     }
  28.     public function getExpressionBuilder()
  29.     {
  30.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getExpressionBuilder', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  31.         return $this->valueHolder55dbd->getExpressionBuilder();
  32.     }
  33.     public function beginTransaction()
  34.     {
  35.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'beginTransaction', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  36.         return $this->valueHolder55dbd->beginTransaction();
  37.     }
  38.     public function getCache()
  39.     {
  40.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getCache', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  41.         return $this->valueHolder55dbd->getCache();
  42.     }
  43.     public function transactional($func)
  44.     {
  45.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'transactional', array('func' => $func), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  46.         return $this->valueHolder55dbd->transactional($func);
  47.     }
  48.     public function commit()
  49.     {
  50.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'commit', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  51.         return $this->valueHolder55dbd->commit();
  52.     }
  53.     public function rollback()
  54.     {
  55.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'rollback', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  56.         return $this->valueHolder55dbd->rollback();
  57.     }
  58.     public function getClassMetadata($className)
  59.     {
  60.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getClassMetadata', array('className' => $className), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  61.         return $this->valueHolder55dbd->getClassMetadata($className);
  62.     }
  63.     public function createQuery($dql '')
  64.     {
  65.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'createQuery', array('dql' => $dql), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  66.         return $this->valueHolder55dbd->createQuery($dql);
  67.     }
  68.     public function createNamedQuery($name)
  69.     {
  70.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'createNamedQuery', array('name' => $name), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  71.         return $this->valueHolder55dbd->createNamedQuery($name);
  72.     }
  73.     public function createNativeQuery($sql, \Doctrine\ORM\Query\ResultSetMapping $rsm)
  74.     {
  75.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'createNativeQuery', array('sql' => $sql'rsm' => $rsm), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  76.         return $this->valueHolder55dbd->createNativeQuery($sql$rsm);
  77.     }
  78.     public function createNamedNativeQuery($name)
  79.     {
  80.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'createNamedNativeQuery', array('name' => $name), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  81.         return $this->valueHolder55dbd->createNamedNativeQuery($name);
  82.     }
  83.     public function createQueryBuilder()
  84.     {
  85.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'createQueryBuilder', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  86.         return $this->valueHolder55dbd->createQueryBuilder();
  87.     }
  88.     public function flush($entity null)
  89.     {
  90.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'flush', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  91.         return $this->valueHolder55dbd->flush($entity);
  92.     }
  93.     public function find($className$id$lockMode null$lockVersion null)
  94.     {
  95.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'find', array('className' => $className'id' => $id'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  96.         return $this->valueHolder55dbd->find($className$id$lockMode$lockVersion);
  97.     }
  98.     public function getReference($entityName$id)
  99.     {
  100.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getReference', array('entityName' => $entityName'id' => $id), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  101.         return $this->valueHolder55dbd->getReference($entityName$id);
  102.     }
  103.     public function getPartialReference($entityName$identifier)
  104.     {
  105.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getPartialReference', array('entityName' => $entityName'identifier' => $identifier), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  106.         return $this->valueHolder55dbd->getPartialReference($entityName$identifier);
  107.     }
  108.     public function clear($entityName null)
  109.     {
  110.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'clear', array('entityName' => $entityName), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  111.         return $this->valueHolder55dbd->clear($entityName);
  112.     }
  113.     public function close()
  114.     {
  115.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'close', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  116.         return $this->valueHolder55dbd->close();
  117.     }
  118.     public function persist($entity)
  119.     {
  120.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'persist', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  121.         return $this->valueHolder55dbd->persist($entity);
  122.     }
  123.     public function remove($entity)
  124.     {
  125.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'remove', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  126.         return $this->valueHolder55dbd->remove($entity);
  127.     }
  128.     public function refresh($entity)
  129.     {
  130.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'refresh', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  131.         return $this->valueHolder55dbd->refresh($entity);
  132.     }
  133.     public function detach($entity)
  134.     {
  135.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'detach', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  136.         return $this->valueHolder55dbd->detach($entity);
  137.     }
  138.     public function merge($entity)
  139.     {
  140.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'merge', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  141.         return $this->valueHolder55dbd->merge($entity);
  142.     }
  143.     public function copy($entity$deep false)
  144.     {
  145.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'copy', array('entity' => $entity'deep' => $deep), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  146.         return $this->valueHolder55dbd->copy($entity$deep);
  147.     }
  148.     public function lock($entity$lockMode$lockVersion null)
  149.     {
  150.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'lock', array('entity' => $entity'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  151.         return $this->valueHolder55dbd->lock($entity$lockMode$lockVersion);
  152.     }
  153.     public function getRepository($entityName)
  154.     {
  155.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getRepository', array('entityName' => $entityName), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  156.         return $this->valueHolder55dbd->getRepository($entityName);
  157.     }
  158.     public function contains($entity)
  159.     {
  160.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'contains', array('entity' => $entity), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  161.         return $this->valueHolder55dbd->contains($entity);
  162.     }
  163.     public function getEventManager()
  164.     {
  165.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getEventManager', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  166.         return $this->valueHolder55dbd->getEventManager();
  167.     }
  168.     public function getConfiguration()
  169.     {
  170.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getConfiguration', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  171.         return $this->valueHolder55dbd->getConfiguration();
  172.     }
  173.     public function isOpen()
  174.     {
  175.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'isOpen', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  176.         return $this->valueHolder55dbd->isOpen();
  177.     }
  178.     public function getUnitOfWork()
  179.     {
  180.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getUnitOfWork', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  181.         return $this->valueHolder55dbd->getUnitOfWork();
  182.     }
  183.     public function getHydrator($hydrationMode)
  184.     {
  185.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getHydrator', array('hydrationMode' => $hydrationMode), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  186.         return $this->valueHolder55dbd->getHydrator($hydrationMode);
  187.     }
  188.     public function newHydrator($hydrationMode)
  189.     {
  190.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'newHydrator', array('hydrationMode' => $hydrationMode), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  191.         return $this->valueHolder55dbd->newHydrator($hydrationMode);
  192.     }
  193.     public function getProxyFactory()
  194.     {
  195.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getProxyFactory', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  196.         return $this->valueHolder55dbd->getProxyFactory();
  197.     }
  198.     public function initializeObject($obj)
  199.     {
  200.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'initializeObject', array('obj' => $obj), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  201.         return $this->valueHolder55dbd->initializeObject($obj);
  202.     }
  203.     public function getFilters()
  204.     {
  205.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'getFilters', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  206.         return $this->valueHolder55dbd->getFilters();
  207.     }
  208.     public function isFiltersStateClean()
  209.     {
  210.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'isFiltersStateClean', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  211.         return $this->valueHolder55dbd->isFiltersStateClean();
  212.     }
  213.     public function hasFilters()
  214.     {
  215.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'hasFilters', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  216.         return $this->valueHolder55dbd->hasFilters();
  217.     }
  218.     /**
  219.      * Constructor for lazy initialization
  220.      *
  221.      * @param \Closure|null $initializer
  222.      */
  223.     public static function staticProxyConstructor($initializer)
  224.     {
  225.         static $reflection;
  226.         $reflection $reflection ?? $reflection = new \ReflectionClass(__CLASS__);
  227.         $instance $reflection->newInstanceWithoutConstructor();
  228.         \Closure::bind(function (\Doctrine\ORM\EntityManager $instance) {
  229.             unset($instance->config$instance->conn$instance->metadataFactory$instance->unitOfWork$instance->eventManager$instance->proxyFactory$instance->repositoryFactory$instance->expressionBuilder$instance->closed$instance->filterCollection$instance->cache);
  230.         }, $instance'Doctrine\\ORM\\EntityManager')->__invoke($instance);
  231.         $instance->initializer3c226 $initializer;
  232.         return $instance;
  233.     }
  234.     protected function __construct(\Doctrine\DBAL\Connection $conn, \Doctrine\ORM\Configuration $config, \Doctrine\Common\EventManager $eventManager)
  235.     {
  236.         static $reflection;
  237.         if (! $this->valueHolder55dbd) {
  238.             $reflection $reflection ?: new \ReflectionClass('Doctrine\\ORM\\EntityManager');
  239.             $this->valueHolder55dbd $reflection->newInstanceWithoutConstructor();
  240.         \Closure::bind(function (\Doctrine\ORM\EntityManager $instance) {
  241.             unset($instance->config$instance->conn$instance->metadataFactory$instance->unitOfWork$instance->eventManager$instance->proxyFactory$instance->repositoryFactory$instance->expressionBuilder$instance->closed$instance->filterCollection$instance->cache);
  242.         }, $this'Doctrine\\ORM\\EntityManager')->__invoke($this);
  243.         }
  244.         $this->valueHolder55dbd->__construct($conn$config$eventManager);
  245.     }
  246.     public function & __get($name)
  247.     {
  248.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'__get', ['name' => $name], $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  249.         if (isset(self::$publicProperties93068[$name])) {
  250.             return $this->valueHolder55dbd->$name;
  251.         }
  252.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  253.         if (! $realInstanceReflection->hasProperty($name)) {
  254.             $targetObject $this->valueHolder55dbd;
  255.             $backtrace debug_backtrace(false);
  256.             trigger_error(
  257.                 sprintf(
  258.                     'Undefined property: %s::$%s in %s on line %s',
  259.                     get_parent_class($this),
  260.                     $name,
  261.                     $backtrace[0]['file'],
  262.                     $backtrace[0]['line']
  263.                 ),
  264.                 \E_USER_NOTICE
  265.             );
  266.             return $targetObject->$name;
  267.             return;
  268.         }
  269.         $targetObject $this->valueHolder55dbd;
  270.         $accessor = function & () use ($targetObject$name) {
  271.             return $targetObject->$name;
  272.         };
  273.         $backtrace debug_backtrace(true);
  274.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  275.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  276.         $returnValue = & $accessor();
  277.         return $returnValue;
  278.     }
  279.     public function __set($name$value)
  280.     {
  281.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'__set', array('name' => $name'value' => $value), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  282.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  283.         if (! $realInstanceReflection->hasProperty($name)) {
  284.             $targetObject $this->valueHolder55dbd;
  285.             return $targetObject->$name $value;
  286.             return;
  287.         }
  288.         $targetObject $this->valueHolder55dbd;
  289.         $accessor = function & () use ($targetObject$name$value) {
  290.             return $targetObject->$name $value;
  291.         };
  292.         $backtrace debug_backtrace(true);
  293.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  294.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  295.         $returnValue = & $accessor();
  296.         return $returnValue;
  297.     }
  298.     public function __isset($name)
  299.     {
  300.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'__isset', array('name' => $name), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  301.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  302.         if (! $realInstanceReflection->hasProperty($name)) {
  303.             $targetObject $this->valueHolder55dbd;
  304.             return isset($targetObject->$name);
  305.             return;
  306.         }
  307.         $targetObject $this->valueHolder55dbd;
  308.         $accessor = function () use ($targetObject$name) {
  309.             return isset($targetObject->$name);
  310.         };
  311.         $backtrace debug_backtrace(true);
  312.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  313.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  314.         $returnValue $accessor();
  315.         return $returnValue;
  316.     }
  317.     public function __unset($name)
  318.     {
  319.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'__unset', array('name' => $name), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  320.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  321.         if (! $realInstanceReflection->hasProperty($name)) {
  322.             $targetObject $this->valueHolder55dbd;
  323.             unset($targetObject->$name);
  324.             return;
  325.         }
  326.         $targetObject $this->valueHolder55dbd;
  327.         $accessor = function () use ($targetObject$name) {
  328.             unset($targetObject->$name);
  329.         };
  330.         $backtrace debug_backtrace(true);
  331.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  332.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  333.         $returnValue $accessor();
  334.         return $returnValue;
  335.     }
  336.     public function __clone()
  337.     {
  338.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'__clone', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  339.         $this->valueHolder55dbd = clone $this->valueHolder55dbd;
  340.     }
  341.     public function __sleep()
  342.     {
  343.         $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'__sleep', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  344.         return array('valueHolder55dbd');
  345.     }
  346.     public function __wakeup()
  347.     {
  348.         \Closure::bind(function (\Doctrine\ORM\EntityManager $instance) {
  349.             unset($instance->config$instance->conn$instance->metadataFactory$instance->unitOfWork$instance->eventManager$instance->proxyFactory$instance->repositoryFactory$instance->expressionBuilder$instance->closed$instance->filterCollection$instance->cache);
  350.         }, $this'Doctrine\\ORM\\EntityManager')->__invoke($this);
  351.     }
  352.     public function setProxyInitializer(\Closure $initializer null)
  353.     {
  354.         $this->initializer3c226 $initializer;
  355.     }
  356.     public function getProxyInitializer()
  357.     {
  358.         return $this->initializer3c226;
  359.     }
  360.     public function initializeProxy() : bool
  361.     {
  362.         return $this->initializer3c226 && ($this->initializer3c226->__invoke($valueHolder55dbd$this'initializeProxy', array(), $this->initializer3c226) || 1) && $this->valueHolder55dbd $valueHolder55dbd;
  363.     }
  364.     public function isProxyInitialized() : bool
  365.     {
  366.         return null !== $this->valueHolder55dbd;
  367.     }
  368.     public function getWrappedValueHolderValue() : ?object
  369.     {
  370.         return $this->valueHolder55dbd;
  371.     }
  372. }