var/cache/dev/ContainerBb9xrSI/EntityManager_9a5be93.php line 82

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