var/cache/dev/ContainerKxN8iRk/EntityManager_9a5be93.php line 34

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