var/cache/dev/ContainerXQm06II/EntityManager_9a5be93.php line 84

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