var/cache/dev/ContainerTRAj9cS/EntityManager_9a5be93.php line 215

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