var/cache/dev/ContainerShUtK3x/EntityManager_9a5be93.php line 32

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 $valueHolder41a40 null;
  8.     /**
  9.      * @var \Closure|null initializer responsible for generating the wrapped object
  10.      */
  11.     private $initializer7f0e0 null;
  12.     /**
  13.      * @var bool[] map of public properties of the parent class
  14.      */
  15.     private static $publicProperties4dced = [
  16.         
  17.     ];
  18.     public function getConnection()
  19.     {
  20.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getConnection', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  21.         return $this->valueHolder41a40->getConnection();
  22.     }
  23.     public function getMetadataFactory()
  24.     {
  25.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getMetadataFactory', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  26.         return $this->valueHolder41a40->getMetadataFactory();
  27.     }
  28.     public function getExpressionBuilder()
  29.     {
  30.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getExpressionBuilder', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  31.         return $this->valueHolder41a40->getExpressionBuilder();
  32.     }
  33.     public function beginTransaction()
  34.     {
  35.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'beginTransaction', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  36.         return $this->valueHolder41a40->beginTransaction();
  37.     }
  38.     public function getCache()
  39.     {
  40.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getCache', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  41.         return $this->valueHolder41a40->getCache();
  42.     }
  43.     public function transactional($func)
  44.     {
  45.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'transactional', array('func' => $func), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  46.         return $this->valueHolder41a40->transactional($func);
  47.     }
  48.     public function commit()
  49.     {
  50.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'commit', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  51.         return $this->valueHolder41a40->commit();
  52.     }
  53.     public function rollback()
  54.     {
  55.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'rollback', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  56.         return $this->valueHolder41a40->rollback();
  57.     }
  58.     public function getClassMetadata($className)
  59.     {
  60.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getClassMetadata', array('className' => $className), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  61.         return $this->valueHolder41a40->getClassMetadata($className);
  62.     }
  63.     public function createQuery($dql '')
  64.     {
  65.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'createQuery', array('dql' => $dql), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  66.         return $this->valueHolder41a40->createQuery($dql);
  67.     }
  68.     public function createNamedQuery($name)
  69.     {
  70.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'createNamedQuery', array('name' => $name), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  71.         return $this->valueHolder41a40->createNamedQuery($name);
  72.     }
  73.     public function createNativeQuery($sql, \Doctrine\ORM\Query\ResultSetMapping $rsm)
  74.     {
  75.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'createNativeQuery', array('sql' => $sql'rsm' => $rsm), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  76.         return $this->valueHolder41a40->createNativeQuery($sql$rsm);
  77.     }
  78.     public function createNamedNativeQuery($name)
  79.     {
  80.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'createNamedNativeQuery', array('name' => $name), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  81.         return $this->valueHolder41a40->createNamedNativeQuery($name);
  82.     }
  83.     public function createQueryBuilder()
  84.     {
  85.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'createQueryBuilder', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  86.         return $this->valueHolder41a40->createQueryBuilder();
  87.     }
  88.     public function flush($entity null)
  89.     {
  90.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'flush', array('entity' => $entity), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  91.         return $this->valueHolder41a40->flush($entity);
  92.     }
  93.     public function find($className$id$lockMode null$lockVersion null)
  94.     {
  95.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'find', array('className' => $className'id' => $id'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  96.         return $this->valueHolder41a40->find($className$id$lockMode$lockVersion);
  97.     }
  98.     public function getReference($entityName$id)
  99.     {
  100.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getReference', array('entityName' => $entityName'id' => $id), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  101.         return $this->valueHolder41a40->getReference($entityName$id);
  102.     }
  103.     public function getPartialReference($entityName$identifier)
  104.     {
  105.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getPartialReference', array('entityName' => $entityName'identifier' => $identifier), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  106.         return $this->valueHolder41a40->getPartialReference($entityName$identifier);
  107.     }
  108.     public function clear($entityName null)
  109.     {
  110.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'clear', array('entityName' => $entityName), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  111.         return $this->valueHolder41a40->clear($entityName);
  112.     }
  113.     public function close()
  114.     {
  115.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'close', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  116.         return $this->valueHolder41a40->close();
  117.     }
  118.     public function persist($entity)
  119.     {
  120.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'persist', array('entity' => $entity), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  121.         return $this->valueHolder41a40->persist($entity);
  122.     }
  123.     public function remove($entity)
  124.     {
  125.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'remove', array('entity' => $entity), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  126.         return $this->valueHolder41a40->remove($entity);
  127.     }
  128.     public function refresh($entity)
  129.     {
  130.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'refresh', array('entity' => $entity), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  131.         return $this->valueHolder41a40->refresh($entity);
  132.     }
  133.     public function detach($entity)
  134.     {
  135.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'detach', array('entity' => $entity), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  136.         return $this->valueHolder41a40->detach($entity);
  137.     }
  138.     public function merge($entity)
  139.     {
  140.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'merge', array('entity' => $entity), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  141.         return $this->valueHolder41a40->merge($entity);
  142.     }
  143.     public function copy($entity$deep false)
  144.     {
  145.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'copy', array('entity' => $entity'deep' => $deep), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  146.         return $this->valueHolder41a40->copy($entity$deep);
  147.     }
  148.     public function lock($entity$lockMode$lockVersion null)
  149.     {
  150.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'lock', array('entity' => $entity'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  151.         return $this->valueHolder41a40->lock($entity$lockMode$lockVersion);
  152.     }
  153.     public function getRepository($entityName)
  154.     {
  155.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getRepository', array('entityName' => $entityName), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  156.         return $this->valueHolder41a40->getRepository($entityName);
  157.     }
  158.     public function contains($entity)
  159.     {
  160.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'contains', array('entity' => $entity), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  161.         return $this->valueHolder41a40->contains($entity);
  162.     }
  163.     public function getEventManager()
  164.     {
  165.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getEventManager', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  166.         return $this->valueHolder41a40->getEventManager();
  167.     }
  168.     public function getConfiguration()
  169.     {
  170.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getConfiguration', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  171.         return $this->valueHolder41a40->getConfiguration();
  172.     }
  173.     public function isOpen()
  174.     {
  175.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'isOpen', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  176.         return $this->valueHolder41a40->isOpen();
  177.     }
  178.     public function getUnitOfWork()
  179.     {
  180.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getUnitOfWork', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  181.         return $this->valueHolder41a40->getUnitOfWork();
  182.     }
  183.     public function getHydrator($hydrationMode)
  184.     {
  185.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getHydrator', array('hydrationMode' => $hydrationMode), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  186.         return $this->valueHolder41a40->getHydrator($hydrationMode);
  187.     }
  188.     public function newHydrator($hydrationMode)
  189.     {
  190.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'newHydrator', array('hydrationMode' => $hydrationMode), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  191.         return $this->valueHolder41a40->newHydrator($hydrationMode);
  192.     }
  193.     public function getProxyFactory()
  194.     {
  195.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getProxyFactory', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  196.         return $this->valueHolder41a40->getProxyFactory();
  197.     }
  198.     public function initializeObject($obj)
  199.     {
  200.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'initializeObject', array('obj' => $obj), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  201.         return $this->valueHolder41a40->initializeObject($obj);
  202.     }
  203.     public function getFilters()
  204.     {
  205.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'getFilters', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  206.         return $this->valueHolder41a40->getFilters();
  207.     }
  208.     public function isFiltersStateClean()
  209.     {
  210.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'isFiltersStateClean', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  211.         return $this->valueHolder41a40->isFiltersStateClean();
  212.     }
  213.     public function hasFilters()
  214.     {
  215.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'hasFilters', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  216.         return $this->valueHolder41a40->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 ?? 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->initializer7f0e0 $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->valueHolder41a40) {
  238.             $reflection $reflection ?? new \ReflectionClass('Doctrine\\ORM\\EntityManager');
  239.             $this->valueHolder41a40 $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->valueHolder41a40->__construct($conn$config$eventManager);
  245.     }
  246.     public function & __get($name)
  247.     {
  248.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'__get', ['name' => $name], $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  249.         if (isset(self::$publicProperties4dced[$name])) {
  250.             return $this->valueHolder41a40->$name;
  251.         }
  252.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  253.         if (! $realInstanceReflection->hasProperty($name)) {
  254.             $targetObject $this->valueHolder41a40;
  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->valueHolder41a40;
  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->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'__set', array('name' => $name'value' => $value), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  282.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  283.         if (! $realInstanceReflection->hasProperty($name)) {
  284.             $targetObject $this->valueHolder41a40;
  285.             return $targetObject->$name $value;
  286.             return;
  287.         }
  288.         $targetObject $this->valueHolder41a40;
  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->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'__isset', array('name' => $name), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  301.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  302.         if (! $realInstanceReflection->hasProperty($name)) {
  303.             $targetObject $this->valueHolder41a40;
  304.             return isset($targetObject->$name);
  305.             return;
  306.         }
  307.         $targetObject $this->valueHolder41a40;
  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->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'__unset', array('name' => $name), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  320.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  321.         if (! $realInstanceReflection->hasProperty($name)) {
  322.             $targetObject $this->valueHolder41a40;
  323.             unset($targetObject->$name);
  324.             return;
  325.         }
  326.         $targetObject $this->valueHolder41a40;
  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->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'__clone', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  339.         $this->valueHolder41a40 = clone $this->valueHolder41a40;
  340.     }
  341.     public function __sleep()
  342.     {
  343.         $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'__sleep', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  344.         return array('valueHolder41a40');
  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->initializer7f0e0 $initializer;
  355.     }
  356.     public function getProxyInitializer()
  357.     {
  358.         return $this->initializer7f0e0;
  359.     }
  360.     public function initializeProxy() : bool
  361.     {
  362.         return $this->initializer7f0e0 && ($this->initializer7f0e0->__invoke($valueHolder41a40$this'initializeProxy', array(), $this->initializer7f0e0) || 1) && $this->valueHolder41a40 $valueHolder41a40;
  363.     }
  364.     public function isProxyInitialized() : bool
  365.     {
  366.         return null !== $this->valueHolder41a40;
  367.     }
  368.     public function getWrappedValueHolderValue() : ?object
  369.     {
  370.         return $this->valueHolder41a40;
  371.     }
  372. }