var/cache/dev/ContainerYESfqow/EntityManager_9a5be93.php line 143

Open in your IDE?
  1. <?php
  2. namespace ContainerYESfqow;
  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 $valueHolder84306 null;
  12.     /**
  13.      * @var \Closure|null initializer responsible for generating the wrapped object
  14.      */
  15.     private $initializerc3431 null;
  16.     /**
  17.      * @var bool[] map of public properties of the parent class
  18.      */
  19.     private static $publicProperties53db8 = [
  20.         
  21.     ];
  22.     public function getConnection()
  23.     {
  24.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getConnection', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  25.         return $this->valueHolder84306->getConnection();
  26.     }
  27.     public function getMetadataFactory()
  28.     {
  29.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getMetadataFactory', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  30.         return $this->valueHolder84306->getMetadataFactory();
  31.     }
  32.     public function getExpressionBuilder()
  33.     {
  34.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getExpressionBuilder', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  35.         return $this->valueHolder84306->getExpressionBuilder();
  36.     }
  37.     public function beginTransaction()
  38.     {
  39.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'beginTransaction', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  40.         return $this->valueHolder84306->beginTransaction();
  41.     }
  42.     public function getCache()
  43.     {
  44.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getCache', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  45.         return $this->valueHolder84306->getCache();
  46.     }
  47.     public function transactional($func)
  48.     {
  49.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'transactional', array('func' => $func), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  50.         return $this->valueHolder84306->transactional($func);
  51.     }
  52.     public function wrapInTransaction(callable $func)
  53.     {
  54.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'wrapInTransaction', array('func' => $func), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  55.         return $this->valueHolder84306->wrapInTransaction($func);
  56.     }
  57.     public function commit()
  58.     {
  59.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'commit', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  60.         return $this->valueHolder84306->commit();
  61.     }
  62.     public function rollback()
  63.     {
  64.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'rollback', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  65.         return $this->valueHolder84306->rollback();
  66.     }
  67.     public function getClassMetadata($className)
  68.     {
  69.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getClassMetadata', array('className' => $className), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  70.         return $this->valueHolder84306->getClassMetadata($className);
  71.     }
  72.     public function createQuery($dql '')
  73.     {
  74.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'createQuery', array('dql' => $dql), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  75.         return $this->valueHolder84306->createQuery($dql);
  76.     }
  77.     public function createNamedQuery($name)
  78.     {
  79.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'createNamedQuery', array('name' => $name), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  80.         return $this->valueHolder84306->createNamedQuery($name);
  81.     }
  82.     public function createNativeQuery($sql\Doctrine\ORM\Query\ResultSetMapping $rsm)
  83.     {
  84.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'createNativeQuery', array('sql' => $sql'rsm' => $rsm), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  85.         return $this->valueHolder84306->createNativeQuery($sql$rsm);
  86.     }
  87.     public function createNamedNativeQuery($name)
  88.     {
  89.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'createNamedNativeQuery', array('name' => $name), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  90.         return $this->valueHolder84306->createNamedNativeQuery($name);
  91.     }
  92.     public function createQueryBuilder()
  93.     {
  94.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'createQueryBuilder', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  95.         return $this->valueHolder84306->createQueryBuilder();
  96.     }
  97.     public function flush($entity null)
  98.     {
  99.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'flush', array('entity' => $entity), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  100.         return $this->valueHolder84306->flush($entity);
  101.     }
  102.     public function find($className$id$lockMode null$lockVersion null)
  103.     {
  104.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'find', array('className' => $className'id' => $id'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  105.         return $this->valueHolder84306->find($className$id$lockMode$lockVersion);
  106.     }
  107.     public function getReference($entityName$id)
  108.     {
  109.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getReference', array('entityName' => $entityName'id' => $id), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  110.         return $this->valueHolder84306->getReference($entityName$id);
  111.     }
  112.     public function getPartialReference($entityName$identifier)
  113.     {
  114.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getPartialReference', array('entityName' => $entityName'identifier' => $identifier), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  115.         return $this->valueHolder84306->getPartialReference($entityName$identifier);
  116.     }
  117.     public function clear($entityName null)
  118.     {
  119.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'clear', array('entityName' => $entityName), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  120.         return $this->valueHolder84306->clear($entityName);
  121.     }
  122.     public function close()
  123.     {
  124.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'close', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  125.         return $this->valueHolder84306->close();
  126.     }
  127.     public function persist($entity)
  128.     {
  129.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'persist', array('entity' => $entity), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  130.         return $this->valueHolder84306->persist($entity);
  131.     }
  132.     public function remove($entity)
  133.     {
  134.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'remove', array('entity' => $entity), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  135.         return $this->valueHolder84306->remove($entity);
  136.     }
  137.     public function refresh($entity, ?int $lockMode null)
  138.     {
  139.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'refresh', array('entity' => $entity'lockMode' => $lockMode), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  140.         return $this->valueHolder84306->refresh($entity$lockMode);
  141.     }
  142.     public function detach($entity)
  143.     {
  144.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'detach', array('entity' => $entity), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  145.         return $this->valueHolder84306->detach($entity);
  146.     }
  147.     public function merge($entity)
  148.     {
  149.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'merge', array('entity' => $entity), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  150.         return $this->valueHolder84306->merge($entity);
  151.     }
  152.     public function copy($entity$deep false)
  153.     {
  154.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'copy', array('entity' => $entity'deep' => $deep), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  155.         return $this->valueHolder84306->copy($entity$deep);
  156.     }
  157.     public function lock($entity$lockMode$lockVersion null)
  158.     {
  159.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'lock', array('entity' => $entity'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  160.         return $this->valueHolder84306->lock($entity$lockMode$lockVersion);
  161.     }
  162.     public function getRepository($entityName)
  163.     {
  164.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getRepository', array('entityName' => $entityName), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  165.         return $this->valueHolder84306->getRepository($entityName);
  166.     }
  167.     public function contains($entity)
  168.     {
  169.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'contains', array('entity' => $entity), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  170.         return $this->valueHolder84306->contains($entity);
  171.     }
  172.     public function getEventManager()
  173.     {
  174.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getEventManager', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  175.         return $this->valueHolder84306->getEventManager();
  176.     }
  177.     public function getConfiguration()
  178.     {
  179.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getConfiguration', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  180.         return $this->valueHolder84306->getConfiguration();
  181.     }
  182.     public function isOpen()
  183.     {
  184.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'isOpen', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  185.         return $this->valueHolder84306->isOpen();
  186.     }
  187.     public function getUnitOfWork()
  188.     {
  189.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getUnitOfWork', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  190.         return $this->valueHolder84306->getUnitOfWork();
  191.     }
  192.     public function getHydrator($hydrationMode)
  193.     {
  194.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getHydrator', array('hydrationMode' => $hydrationMode), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  195.         return $this->valueHolder84306->getHydrator($hydrationMode);
  196.     }
  197.     public function newHydrator($hydrationMode)
  198.     {
  199.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'newHydrator', array('hydrationMode' => $hydrationMode), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  200.         return $this->valueHolder84306->newHydrator($hydrationMode);
  201.     }
  202.     public function getProxyFactory()
  203.     {
  204.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getProxyFactory', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  205.         return $this->valueHolder84306->getProxyFactory();
  206.     }
  207.     public function initializeObject($obj)
  208.     {
  209.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'initializeObject', array('obj' => $obj), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  210.         return $this->valueHolder84306->initializeObject($obj);
  211.     }
  212.     public function getFilters()
  213.     {
  214.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'getFilters', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  215.         return $this->valueHolder84306->getFilters();
  216.     }
  217.     public function isFiltersStateClean()
  218.     {
  219.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'isFiltersStateClean', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  220.         return $this->valueHolder84306->isFiltersStateClean();
  221.     }
  222.     public function hasFilters()
  223.     {
  224.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'hasFilters', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  225.         return $this->valueHolder84306->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->initializerc3431 $initializer;
  241.         return $instance;
  242.     }
  243.     public function __construct(\Doctrine\DBAL\Connection $conn\Doctrine\ORM\Configuration $config, ?\Doctrine\Common\EventManager $eventManager null)
  244.     {
  245.         static $reflection;
  246.         if (! $this->valueHolder84306) {
  247.             $reflection $reflection ?? new \ReflectionClass('Doctrine\\ORM\\EntityManager');
  248.             $this->valueHolder84306 $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->valueHolder84306->__construct($conn$config$eventManager);
  254.     }
  255.     public function & __get($name)
  256.     {
  257.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'__get', ['name' => $name], $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  258.         if (isset(self::$publicProperties53db8[$name])) {
  259.             return $this->valueHolder84306->$name;
  260.         }
  261.         $realInstanceReflection = new \ReflectionClass('Doctrine\\ORM\\EntityManager');
  262.         if (! $realInstanceReflection->hasProperty($name)) {
  263.             $targetObject $this->valueHolder84306;
  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->valueHolder84306;
  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->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'__set', array('name' => $name'value' => $value), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  290.         $realInstanceReflection = new \ReflectionClass('Doctrine\\ORM\\EntityManager');
  291.         if (! $realInstanceReflection->hasProperty($name)) {
  292.             $targetObject $this->valueHolder84306;
  293.             $targetObject->$name $value;
  294.             return $targetObject->$name;
  295.         }
  296.         $targetObject $this->valueHolder84306;
  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->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'__isset', array('name' => $name), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  310.         $realInstanceReflection = new \ReflectionClass('Doctrine\\ORM\\EntityManager');
  311.         if (! $realInstanceReflection->hasProperty($name)) {
  312.             $targetObject $this->valueHolder84306;
  313.             return isset($targetObject->$name);
  314.         }
  315.         $targetObject $this->valueHolder84306;
  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->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'__unset', array('name' => $name), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  328.         $realInstanceReflection = new \ReflectionClass('Doctrine\\ORM\\EntityManager');
  329.         if (! $realInstanceReflection->hasProperty($name)) {
  330.             $targetObject $this->valueHolder84306;
  331.             unset($targetObject->$name);
  332.             return;
  333.         }
  334.         $targetObject $this->valueHolder84306;
  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->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'__clone', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  347.         $this->valueHolder84306 = clone $this->valueHolder84306;
  348.     }
  349.     public function __sleep()
  350.     {
  351.         $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'__sleep', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  352.         return array('valueHolder84306');
  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->initializerc3431 $initializer;
  363.     }
  364.     public function getProxyInitializer() : ?\Closure
  365.     {
  366.         return $this->initializerc3431;
  367.     }
  368.     public function initializeProxy() : bool
  369.     {
  370.         return $this->initializerc3431 && ($this->initializerc3431->__invoke($valueHolder84306$this'initializeProxy', array(), $this->initializerc3431) || 1) && $this->valueHolder84306 $valueHolder84306;
  371.     }
  372.     public function isProxyInitialized() : bool
  373.     {
  374.         return null !== $this->valueHolder84306;
  375.     }
  376.     public function getWrappedValueHolderValue()
  377.     {
  378.         return $this->valueHolder84306;
  379.     }
  380. }
  381. if (!\class_exists('EntityManager_9a5be93'false)) {
  382.     \class_alias(__NAMESPACE__.'\\EntityManager_9a5be93''EntityManager_9a5be93'false);
  383. }