var/cache/dev/ContainerRXdXI6z/DefaultCustomerProvider_35d6835.php line 47

Open in your IDE?
  1. <?php
  2. namespace ContainerRXdXI6z;
  3. include_once \dirname(__DIR__4).'/vendor/pimcore/customer-management-framework-bundle/src/CustomerProvider/CustomerProviderInterface.php';
  4. include_once \dirname(__DIR__4).'/vendor/pimcore/customer-management-framework-bundle/src/CustomerProvider/DefaultCustomerProvider.php';
  5. class DefaultCustomerProvider_35d6835 extends \CustomerManagementFrameworkBundle\CustomerProvider\DefaultCustomerProvider implements \ProxyManager\Proxy\VirtualProxyInterface
  6. {
  7.     /**
  8.      * @var \CustomerManagementFrameworkBundle\CustomerProvider\DefaultCustomerProvider|null wrapped object, if the proxy is initialized
  9.      */
  10.     private $valueHolder75638 null;
  11.     /**
  12.      * @var \Closure|null initializer responsible for generating the wrapped object
  13.      */
  14.     private $initializerb8bad null;
  15.     /**
  16.      * @var bool[] map of public properties of the parent class
  17.      */
  18.     private static $publicPropertiesdbc69 = [
  19.         
  20.     ];
  21.     public function getCustomerClassId()
  22.     {
  23.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'getCustomerClassId', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  24.         return $this->valueHolder75638->getCustomerClassId();
  25.     }
  26.     public function getCustomerClassName()
  27.     {
  28.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'getCustomerClassName', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  29.         return $this->valueHolder75638->getCustomerClassName();
  30.     }
  31.     public function getList()
  32.     {
  33.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'getList', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  34.         return $this->valueHolder75638->getList();
  35.     }
  36.     public function create(array $data = [])
  37.     {
  38.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'create', array('data' => $data), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  39.         return $this->valueHolder75638->create($data);
  40.     }
  41.     public function createCustomerInstance()
  42.     {
  43.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'createCustomerInstance', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  44.         return $this->valueHolder75638->createCustomerInstance();
  45.     }
  46.     public function update(\CustomerManagementFrameworkBundle\Model\CustomerInterface $customer, array $data = [])
  47.     {
  48.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'update', array('customer' => $customer'data' => $data), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  49.         return $this->valueHolder75638->update($customer$data);
  50.     }
  51.     public function delete(\CustomerManagementFrameworkBundle\Model\CustomerInterface $customer)
  52.     {
  53.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'delete', array('customer' => $customer), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  54.         return $this->valueHolder75638->delete($customer);
  55.     }
  56.     public function getById($id$force false)
  57.     {
  58.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'getById', array('id' => $id'force' => $force), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  59.         return $this->valueHolder75638->getById($id$force);
  60.     }
  61.     public function getActiveCustomerByEmail($email)
  62.     {
  63.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'getActiveCustomerByEmail', array('email' => $email), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  64.         return $this->valueHolder75638->getActiveCustomerByEmail($email);
  65.     }
  66.     public function applyObjectNamingScheme(\CustomerManagementFrameworkBundle\Model\CustomerInterface $customer)
  67.     {
  68.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'applyObjectNamingScheme', array('customer' => $customer), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  69.         return $this->valueHolder75638->applyObjectNamingScheme($customer);
  70.     }
  71.     public function getParentParentPath()
  72.     {
  73.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'getParentParentPath', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  74.         return $this->valueHolder75638->getParentParentPath();
  75.     }
  76.     public function setParentPath($parentPath)
  77.     {
  78.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'setParentPath', array('parentPath' => $parentPath), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  79.         return $this->valueHolder75638->setParentPath($parentPath);
  80.     }
  81.     public function addActiveCondition($list)
  82.     {
  83.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'addActiveCondition', array('list' => $list), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  84.         return $this->valueHolder75638->addActiveCondition($list);
  85.     }
  86.     public function addInActiveCondition($list)
  87.     {
  88.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'addInActiveCondition', array('list' => $list), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  89.         return $this->valueHolder75638->addInActiveCondition($list);
  90.     }
  91.     /**
  92.      * Constructor for lazy initialization
  93.      *
  94.      * @param \Closure|null $initializer
  95.      */
  96.     public static function staticProxyConstructor($initializer)
  97.     {
  98.         static $reflection;
  99.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  100.         $instance   $reflection->newInstanceWithoutConstructor();
  101.         unset($instance->pimcoreClass$instance->parentPath$instance->namingScheme$instance->modelFactory$instance->usesClassOverride$instance->classNameWithoutNamespace);
  102.         $instance->initializerb8bad $initializer;
  103.         return $instance;
  104.     }
  105.     public function __construct($pimcoreClass$parentPath\CustomerManagementFrameworkBundle\CustomerProvider\ObjectNamingScheme\ObjectNamingSchemeInterface $namingScheme\Pimcore\Model\Factory $modelFactory)
  106.     {
  107.         static $reflection;
  108.         if (! $this->valueHolder75638) {
  109.             $reflection $reflection ?? new \ReflectionClass('CustomerManagementFrameworkBundle\\CustomerProvider\\DefaultCustomerProvider');
  110.             $this->valueHolder75638 $reflection->newInstanceWithoutConstructor();
  111.         unset($this->pimcoreClass$this->parentPath$this->namingScheme$this->modelFactory$this->usesClassOverride$this->classNameWithoutNamespace);
  112.         }
  113.         $this->valueHolder75638->__construct($pimcoreClass$parentPath$namingScheme$modelFactory);
  114.     }
  115.     public function & __get($name)
  116.     {
  117.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__get', ['name' => $name], $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  118.         if (isset(self::$publicPropertiesdbc69[$name])) {
  119.             return $this->valueHolder75638->$name;
  120.         }
  121.         $realInstanceReflection = new \ReflectionClass('CustomerManagementFrameworkBundle\\CustomerProvider\\DefaultCustomerProvider');
  122.         if (! $realInstanceReflection->hasProperty($name)) {
  123.             $targetObject $this->valueHolder75638;
  124.             $backtrace debug_backtrace(false1);
  125.             trigger_error(
  126.                 sprintf(
  127.                     'Undefined property: %s::$%s in %s on line %s',
  128.                     $realInstanceReflection->getName(),
  129.                     $name,
  130.                     $backtrace[0]['file'],
  131.                     $backtrace[0]['line']
  132.                 ),
  133.                 \E_USER_NOTICE
  134.             );
  135.             return $targetObject->$name;
  136.         }
  137.         $targetObject $this->valueHolder75638;
  138.         $accessor = function & () use ($targetObject$name) {
  139.             return $targetObject->$name;
  140.         };
  141.         $backtrace debug_backtrace(true2);
  142.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  143.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  144.         $returnValue = & $accessor();
  145.         return $returnValue;
  146.     }
  147.     public function __set($name$value)
  148.     {
  149.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__set', array('name' => $name'value' => $value), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  150.         $realInstanceReflection = new \ReflectionClass('CustomerManagementFrameworkBundle\\CustomerProvider\\DefaultCustomerProvider');
  151.         if (! $realInstanceReflection->hasProperty($name)) {
  152.             $targetObject $this->valueHolder75638;
  153.             $targetObject->$name $value;
  154.             return $targetObject->$name;
  155.         }
  156.         $targetObject $this->valueHolder75638;
  157.         $accessor = function & () use ($targetObject$name$value) {
  158.             $targetObject->$name $value;
  159.             return $targetObject->$name;
  160.         };
  161.         $backtrace debug_backtrace(true2);
  162.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  163.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  164.         $returnValue = & $accessor();
  165.         return $returnValue;
  166.     }
  167.     public function __isset($name)
  168.     {
  169.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__isset', array('name' => $name), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  170.         $realInstanceReflection = new \ReflectionClass('CustomerManagementFrameworkBundle\\CustomerProvider\\DefaultCustomerProvider');
  171.         if (! $realInstanceReflection->hasProperty($name)) {
  172.             $targetObject $this->valueHolder75638;
  173.             return isset($targetObject->$name);
  174.         }
  175.         $targetObject $this->valueHolder75638;
  176.         $accessor = function () use ($targetObject$name) {
  177.             return isset($targetObject->$name);
  178.         };
  179.         $backtrace debug_backtrace(true2);
  180.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  181.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  182.         $returnValue $accessor();
  183.         return $returnValue;
  184.     }
  185.     public function __unset($name)
  186.     {
  187.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__unset', array('name' => $name), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  188.         $realInstanceReflection = new \ReflectionClass('CustomerManagementFrameworkBundle\\CustomerProvider\\DefaultCustomerProvider');
  189.         if (! $realInstanceReflection->hasProperty($name)) {
  190.             $targetObject $this->valueHolder75638;
  191.             unset($targetObject->$name);
  192.             return;
  193.         }
  194.         $targetObject $this->valueHolder75638;
  195.         $accessor = function () use ($targetObject$name) {
  196.             unset($targetObject->$name);
  197.             return;
  198.         };
  199.         $backtrace debug_backtrace(true2);
  200.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  201.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  202.         $accessor();
  203.     }
  204.     public function __clone()
  205.     {
  206.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__clone', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  207.         $this->valueHolder75638 = clone $this->valueHolder75638;
  208.     }
  209.     public function __sleep()
  210.     {
  211.         $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'__sleep', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  212.         return array('valueHolder75638');
  213.     }
  214.     public function __wakeup()
  215.     {
  216.         unset($this->pimcoreClass$this->parentPath$this->namingScheme$this->modelFactory$this->usesClassOverride$this->classNameWithoutNamespace);
  217.     }
  218.     public function setProxyInitializer(\Closure $initializer null) : void
  219.     {
  220.         $this->initializerb8bad $initializer;
  221.     }
  222.     public function getProxyInitializer() : ?\Closure
  223.     {
  224.         return $this->initializerb8bad;
  225.     }
  226.     public function initializeProxy() : bool
  227.     {
  228.         return $this->initializerb8bad && ($this->initializerb8bad->__invoke($valueHolder75638$this'initializeProxy', array(), $this->initializerb8bad) || 1) && $this->valueHolder75638 $valueHolder75638;
  229.     }
  230.     public function isProxyInitialized() : bool
  231.     {
  232.         return null !== $this->valueHolder75638;
  233.     }
  234.     public function getWrappedValueHolderValue()
  235.     {
  236.         return $this->valueHolder75638;
  237.     }
  238. }
  239. if (!\class_exists('DefaultCustomerProvider_35d6835'false)) {
  240.     \class_alias(__NAMESPACE__.'\\DefaultCustomerProvider_35d6835''DefaultCustomerProvider_35d6835'false);
  241. }