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

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