var/cache/dev/Container6vxbtli/EntityManager_9a5be93.php line 38

Open in your IDE?
  1. <?php
  2. class EntityManager_9a5be93 extends \Doctrine\ORM\EntityManager implements \ProxyManager\Proxy\VirtualProxyInterface
  3. {
  4.     /**
  5.      * @var \Closure|null initializer responsible for generating the wrapped object
  6.      */
  7.     private $valueHolder9a5be93 null;
  8.     /**
  9.      * @var \Closure|null initializer responsible for generating the wrapped object
  10.      */
  11.     private $initializer9a5be93 null;
  12.     /**
  13.      * @var bool[] map of public properties of the parent class
  14.      */
  15.     private static $publicProperties9a5be93 = [
  16.         
  17.     ];
  18.     /**
  19.      * {@inheritDoc}
  20.      */
  21.     public function getConnection()
  22.     {
  23.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getConnection', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  24.         return $this->valueHolder9a5be93->getConnection();
  25.     }
  26.     /**
  27.      * {@inheritDoc}
  28.      */
  29.     public function getMetadataFactory()
  30.     {
  31.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getMetadataFactory', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  32.         return $this->valueHolder9a5be93->getMetadataFactory();
  33.     }
  34.     /**
  35.      * {@inheritDoc}
  36.      */
  37.     public function getExpressionBuilder()
  38.     {
  39.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getExpressionBuilder', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  40.         return $this->valueHolder9a5be93->getExpressionBuilder();
  41.     }
  42.     /**
  43.      * {@inheritDoc}
  44.      */
  45.     public function beginTransaction()
  46.     {
  47.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'beginTransaction', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  48.         return $this->valueHolder9a5be93->beginTransaction();
  49.     }
  50.     /**
  51.      * {@inheritDoc}
  52.      */
  53.     public function getCache()
  54.     {
  55.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getCache', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  56.         return $this->valueHolder9a5be93->getCache();
  57.     }
  58.     /**
  59.      * {@inheritDoc}
  60.      */
  61.     public function transactional($func)
  62.     {
  63.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'transactional', array('func' => $func), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  64.         return $this->valueHolder9a5be93->transactional($func);
  65.     }
  66.     /**
  67.      * {@inheritDoc}
  68.      */
  69.     public function commit()
  70.     {
  71.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'commit', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  72.         return $this->valueHolder9a5be93->commit();
  73.     }
  74.     /**
  75.      * {@inheritDoc}
  76.      */
  77.     public function rollback()
  78.     {
  79.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'rollback', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  80.         return $this->valueHolder9a5be93->rollback();
  81.     }
  82.     /**
  83.      * {@inheritDoc}
  84.      */
  85.     public function getClassMetadata($className)
  86.     {
  87.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getClassMetadata', array('className' => $className), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  88.         return $this->valueHolder9a5be93->getClassMetadata($className);
  89.     }
  90.     /**
  91.      * {@inheritDoc}
  92.      */
  93.     public function createQuery($dql '')
  94.     {
  95.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'createQuery', array('dql' => $dql), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  96.         return $this->valueHolder9a5be93->createQuery($dql);
  97.     }
  98.     /**
  99.      * {@inheritDoc}
  100.      */
  101.     public function createNamedQuery($name)
  102.     {
  103.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'createNamedQuery', array('name' => $name), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  104.         return $this->valueHolder9a5be93->createNamedQuery($name);
  105.     }
  106.     /**
  107.      * {@inheritDoc}
  108.      */
  109.     public function createNativeQuery($sql, \Doctrine\ORM\Query\ResultSetMapping $rsm)
  110.     {
  111.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'createNativeQuery', array('sql' => $sql'rsm' => $rsm), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  112.         return $this->valueHolder9a5be93->createNativeQuery($sql$rsm);
  113.     }
  114.     /**
  115.      * {@inheritDoc}
  116.      */
  117.     public function createNamedNativeQuery($name)
  118.     {
  119.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'createNamedNativeQuery', array('name' => $name), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  120.         return $this->valueHolder9a5be93->createNamedNativeQuery($name);
  121.     }
  122.     /**
  123.      * {@inheritDoc}
  124.      */
  125.     public function createQueryBuilder()
  126.     {
  127.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'createQueryBuilder', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  128.         return $this->valueHolder9a5be93->createQueryBuilder();
  129.     }
  130.     /**
  131.      * {@inheritDoc}
  132.      */
  133.     public function flush($entity null)
  134.     {
  135.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'flush', array('entity' => $entity), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  136.         return $this->valueHolder9a5be93->flush($entity);
  137.     }
  138.     /**
  139.      * {@inheritDoc}
  140.      */
  141.     public function find($entityName$id$lockMode null$lockVersion null)
  142.     {
  143.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'find', array('entityName' => $entityName'id' => $id'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  144.         return $this->valueHolder9a5be93->find($entityName$id$lockMode$lockVersion);
  145.     }
  146.     /**
  147.      * {@inheritDoc}
  148.      */
  149.     public function getReference($entityName$id)
  150.     {
  151.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getReference', array('entityName' => $entityName'id' => $id), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  152.         return $this->valueHolder9a5be93->getReference($entityName$id);
  153.     }
  154.     /**
  155.      * {@inheritDoc}
  156.      */
  157.     public function getPartialReference($entityName$identifier)
  158.     {
  159.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getPartialReference', array('entityName' => $entityName'identifier' => $identifier), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  160.         return $this->valueHolder9a5be93->getPartialReference($entityName$identifier);
  161.     }
  162.     /**
  163.      * {@inheritDoc}
  164.      */
  165.     public function clear($entityName null)
  166.     {
  167.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'clear', array('entityName' => $entityName), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  168.         return $this->valueHolder9a5be93->clear($entityName);
  169.     }
  170.     /**
  171.      * {@inheritDoc}
  172.      */
  173.     public function close()
  174.     {
  175.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'close', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  176.         return $this->valueHolder9a5be93->close();
  177.     }
  178.     /**
  179.      * {@inheritDoc}
  180.      */
  181.     public function persist($entity)
  182.     {
  183.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'persist', array('entity' => $entity), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  184.         return $this->valueHolder9a5be93->persist($entity);
  185.     }
  186.     /**
  187.      * {@inheritDoc}
  188.      */
  189.     public function remove($entity)
  190.     {
  191.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'remove', array('entity' => $entity), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  192.         return $this->valueHolder9a5be93->remove($entity);
  193.     }
  194.     /**
  195.      * {@inheritDoc}
  196.      */
  197.     public function refresh($entity)
  198.     {
  199.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'refresh', array('entity' => $entity), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  200.         return $this->valueHolder9a5be93->refresh($entity);
  201.     }
  202.     /**
  203.      * {@inheritDoc}
  204.      */
  205.     public function detach($entity)
  206.     {
  207.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'detach', array('entity' => $entity), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  208.         return $this->valueHolder9a5be93->detach($entity);
  209.     }
  210.     /**
  211.      * {@inheritDoc}
  212.      */
  213.     public function merge($entity)
  214.     {
  215.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'merge', array('entity' => $entity), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  216.         return $this->valueHolder9a5be93->merge($entity);
  217.     }
  218.     /**
  219.      * {@inheritDoc}
  220.      */
  221.     public function copy($entity$deep false)
  222.     {
  223.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'copy', array('entity' => $entity'deep' => $deep), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  224.         return $this->valueHolder9a5be93->copy($entity$deep);
  225.     }
  226.     /**
  227.      * {@inheritDoc}
  228.      */
  229.     public function lock($entity$lockMode$lockVersion null)
  230.     {
  231.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'lock', array('entity' => $entity'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  232.         return $this->valueHolder9a5be93->lock($entity$lockMode$lockVersion);
  233.     }
  234.     /**
  235.      * {@inheritDoc}
  236.      */
  237.     public function getRepository($entityName)
  238.     {
  239.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getRepository', array('entityName' => $entityName), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  240.         return $this->valueHolder9a5be93->getRepository($entityName);
  241.     }
  242.     /**
  243.      * {@inheritDoc}
  244.      */
  245.     public function contains($entity)
  246.     {
  247.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'contains', array('entity' => $entity), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  248.         return $this->valueHolder9a5be93->contains($entity);
  249.     }
  250.     /**
  251.      * {@inheritDoc}
  252.      */
  253.     public function getEventManager()
  254.     {
  255.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getEventManager', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  256.         return $this->valueHolder9a5be93->getEventManager();
  257.     }
  258.     /**
  259.      * {@inheritDoc}
  260.      */
  261.     public function getConfiguration()
  262.     {
  263.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getConfiguration', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  264.         return $this->valueHolder9a5be93->getConfiguration();
  265.     }
  266.     /**
  267.      * {@inheritDoc}
  268.      */
  269.     public function isOpen()
  270.     {
  271.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'isOpen', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  272.         return $this->valueHolder9a5be93->isOpen();
  273.     }
  274.     /**
  275.      * {@inheritDoc}
  276.      */
  277.     public function getUnitOfWork()
  278.     {
  279.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getUnitOfWork', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  280.         return $this->valueHolder9a5be93->getUnitOfWork();
  281.     }
  282.     /**
  283.      * {@inheritDoc}
  284.      */
  285.     public function getHydrator($hydrationMode)
  286.     {
  287.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getHydrator', array('hydrationMode' => $hydrationMode), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  288.         return $this->valueHolder9a5be93->getHydrator($hydrationMode);
  289.     }
  290.     /**
  291.      * {@inheritDoc}
  292.      */
  293.     public function newHydrator($hydrationMode)
  294.     {
  295.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'newHydrator', array('hydrationMode' => $hydrationMode), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  296.         return $this->valueHolder9a5be93->newHydrator($hydrationMode);
  297.     }
  298.     /**
  299.      * {@inheritDoc}
  300.      */
  301.     public function getProxyFactory()
  302.     {
  303.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getProxyFactory', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  304.         return $this->valueHolder9a5be93->getProxyFactory();
  305.     }
  306.     /**
  307.      * {@inheritDoc}
  308.      */
  309.     public function initializeObject($obj)
  310.     {
  311.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'initializeObject', array('obj' => $obj), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  312.         return $this->valueHolder9a5be93->initializeObject($obj);
  313.     }
  314.     /**
  315.      * {@inheritDoc}
  316.      */
  317.     public function getFilters()
  318.     {
  319.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'getFilters', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  320.         return $this->valueHolder9a5be93->getFilters();
  321.     }
  322.     /**
  323.      * {@inheritDoc}
  324.      */
  325.     public function isFiltersStateClean()
  326.     {
  327.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'isFiltersStateClean', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  328.         return $this->valueHolder9a5be93->isFiltersStateClean();
  329.     }
  330.     /**
  331.      * {@inheritDoc}
  332.      */
  333.     public function hasFilters()
  334.     {
  335.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'hasFilters', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  336.         return $this->valueHolder9a5be93->hasFilters();
  337.     }
  338.     /**
  339.      * Constructor for lazy initialization
  340.      *
  341.      * @param \Closure|null $initializer
  342.      */
  343.     public static function staticProxyConstructor($initializer)
  344.     {
  345.         static $reflection;
  346.         $reflection $reflection ?: $reflection = new \ReflectionClass(__CLASS__);
  347.         $instance = (new \ReflectionClass(get_class()))->newInstanceWithoutConstructor();
  348.         \Closure::bind(function (\Doctrine\ORM\EntityManager $instance) {
  349.             unset($instance->config$instance->conn$instance->metadataFactory$instance->unitOfWork$instance->eventManager$instance->proxyFactory$instance->repositoryFactory$instance->expressionBuilder$instance->closed$instance->filterCollection$instance->cache);
  350.         }, $instance'Doctrine\\ORM\\EntityManager')->__invoke($instance);
  351.         $instance->initializer9a5be93 $initializer;
  352.         return $instance;
  353.     }
  354.     /**
  355.      * {@inheritDoc}
  356.      */
  357.     protected function __construct(\Doctrine\DBAL\Connection $conn, \Doctrine\ORM\Configuration $config, \Doctrine\Common\EventManager $eventManager)
  358.     {
  359.         static $reflection;
  360.         if (! $this->valueHolder9a5be93) {
  361.             $reflection $reflection ?: new \ReflectionClass('Doctrine\\ORM\\EntityManager');
  362.             $this->valueHolder9a5be93 $reflection->newInstanceWithoutConstructor();
  363.         \Closure::bind(function (\Doctrine\ORM\EntityManager $instance) {
  364.             unset($instance->config$instance->conn$instance->metadataFactory$instance->unitOfWork$instance->eventManager$instance->proxyFactory$instance->repositoryFactory$instance->expressionBuilder$instance->closed$instance->filterCollection$instance->cache);
  365.         }, $this'Doctrine\\ORM\\EntityManager')->__invoke($this);
  366.         }
  367.         $this->valueHolder9a5be93->__construct($conn$config$eventManager);
  368.     }
  369.     /**
  370.      * @param string $name
  371.      */
  372.     public function & __get($name)
  373.     {
  374.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'__get', ['name' => $name], $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  375.         if (isset(self::$publicProperties9a5be93[$name])) {
  376.             return $this->valueHolder9a5be93->$name;
  377.         }
  378.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  379.         if (! $realInstanceReflection->hasProperty($name)) {
  380.             $targetObject $this->valueHolder9a5be93;
  381.             $backtrace debug_backtrace(false);
  382.             trigger_error(
  383.                 sprintf(
  384.                     'Undefined property: %s::$%s in %s on line %s',
  385.                     get_parent_class($this),
  386.                     $name,
  387.                     $backtrace[0]['file'],
  388.                     $backtrace[0]['line']
  389.                 ),
  390.                 \E_USER_NOTICE
  391.             );
  392.             return $targetObject->$name;
  393.             return;
  394.         }
  395.         $targetObject $this->valueHolder9a5be93;
  396.         $accessor = function & () use ($targetObject$name) {
  397.             return $targetObject->$name;
  398.         };
  399.         $backtrace debug_backtrace(true);
  400.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  401.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  402.         $returnValue = & $accessor();
  403.         return $returnValue;
  404.     }
  405.     /**
  406.      * @param string $name
  407.      * @param mixed $value
  408.      */
  409.     public function __set($name$value)
  410.     {
  411.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'__set', array('name' => $name'value' => $value), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  412.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  413.         if (! $realInstanceReflection->hasProperty($name)) {
  414.             $targetObject $this->valueHolder9a5be93;
  415.             return $targetObject->$name $value;
  416.             return;
  417.         }
  418.         $targetObject $this->valueHolder9a5be93;
  419.         $accessor = function & () use ($targetObject$name$value) {
  420.             return $targetObject->$name $value;
  421.         };
  422.         $backtrace debug_backtrace(true);
  423.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  424.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  425.         $returnValue = & $accessor();
  426.         return $returnValue;
  427.     }
  428.     /**
  429.      * @param string $name
  430.      */
  431.     public function __isset($name)
  432.     {
  433.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'__isset', array('name' => $name), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  434.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  435.         if (! $realInstanceReflection->hasProperty($name)) {
  436.             $targetObject $this->valueHolder9a5be93;
  437.             return isset($targetObject->$name);
  438.             return;
  439.         }
  440.         $targetObject $this->valueHolder9a5be93;
  441.         $accessor = function () use ($targetObject$name) {
  442.             return isset($targetObject->$name);
  443.         };
  444.         $backtrace debug_backtrace(true);
  445.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  446.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  447.         $returnValue $accessor();
  448.         return $returnValue;
  449.     }
  450.     /**
  451.      * @param string $name
  452.      */
  453.     public function __unset($name)
  454.     {
  455.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'__unset', array('name' => $name), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  456.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  457.         if (! $realInstanceReflection->hasProperty($name)) {
  458.             $targetObject $this->valueHolder9a5be93;
  459.             unset($targetObject->$name);
  460.             return;
  461.         }
  462.         $targetObject $this->valueHolder9a5be93;
  463.         $accessor = function () use ($targetObject$name) {
  464.             unset($targetObject->$name);
  465.         };
  466.         $backtrace debug_backtrace(true);
  467.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  468.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  469.         $returnValue $accessor();
  470.         return $returnValue;
  471.     }
  472.     public function __clone()
  473.     {
  474.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'__clone', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  475.         $this->valueHolder9a5be93 = clone $this->valueHolder9a5be93;
  476.     }
  477.     public function __sleep()
  478.     {
  479.         $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'__sleep', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  480.         return array('valueHolder9a5be93');
  481.     }
  482.     public function __wakeup()
  483.     {
  484.         \Closure::bind(function (\Doctrine\ORM\EntityManager $instance) {
  485.             unset($instance->config$instance->conn$instance->metadataFactory$instance->unitOfWork$instance->eventManager$instance->proxyFactory$instance->repositoryFactory$instance->expressionBuilder$instance->closed$instance->filterCollection$instance->cache);
  486.         }, $this'Doctrine\\ORM\\EntityManager')->__invoke($this);
  487.     }
  488.     /**
  489.      * {@inheritDoc}
  490.      */
  491.     public function setProxyInitializer(\Closure $initializer null)
  492.     {
  493.         $this->initializer9a5be93 $initializer;
  494.     }
  495.     /**
  496.      * {@inheritDoc}
  497.      */
  498.     public function getProxyInitializer()
  499.     {
  500.         return $this->initializer9a5be93;
  501.     }
  502.     /**
  503.      * {@inheritDoc}
  504.      */
  505.     public function initializeProxy() : bool
  506.     {
  507.         return $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93$this'initializeProxy', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 $valueHolder9a5be93;
  508.     }
  509.     /**
  510.      * {@inheritDoc}
  511.      */
  512.     public function isProxyInitialized() : bool
  513.     {
  514.         return null !== $this->valueHolder9a5be93;
  515.     }
  516.     /**
  517.      * {@inheritDoc}
  518.      */
  519.     public function getWrappedValueHolderValue()
  520.     {
  521.         return $this->valueHolder9a5be93;
  522.     }
  523. }