var/cache/dev/ContainerJZSM0Tr/EntityManager_9a5be93.php line 6

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