var/cache/dev/ContainerR06wGTL/DefaultCustomerProvider_35d6835.php line 49

Open in your IDE?
  1. <?php
  2. namespace ContainerR06wGTL;
  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 $valueHolderc92dc null;
  11.     /**
  12.      * @var \Closure|null initializer responsible for generating the wrapped object
  13.      */
  14.     private $initializer95535 null;
  15.     /**
  16.      * @var bool[] map of public properties of the parent class
  17.      */
  18.     private static $publicPropertiesb4227 = [
  19.         
  20.     ];
  21.     public function getCustomerClassId()
  22.     {
  23.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'getCustomerClassId', array(), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  24.         return $this->valueHolderc92dc->getCustomerClassId();
  25.     }
  26.     public function getCustomerClassName()
  27.     {
  28.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'getCustomerClassName', array(), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  29.         return $this->valueHolderc92dc->getCustomerClassName();
  30.     }
  31.     public function getList()
  32.     {
  33.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'getList', array(), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  34.         return $this->valueHolderc92dc->getList();
  35.     }
  36.     public function create(array $data = [])
  37.     {
  38.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'create', array('data' => $data), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  39.         return $this->valueHolderc92dc->create($data);
  40.     }
  41.     public function createCustomerInstance()
  42.     {
  43.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'createCustomerInstance', array(), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  44.         return $this->valueHolderc92dc->createCustomerInstance();
  45.     }
  46.     public function update(\CustomerManagementFrameworkBundle\Model\CustomerInterface $customer, array $data = [])
  47.     {
  48.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'update', array('customer' => $customer'data' => $data), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  49.         return $this->valueHolderc92dc->update($customer$data);
  50.     }
  51.     public function delete(\CustomerManagementFrameworkBundle\Model\CustomerInterface $customer)
  52.     {
  53.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'delete', array('customer' => $customer), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  54.         return $this->valueHolderc92dc->delete($customer);
  55.     }
  56.     public function getById($id$force false)
  57.     {
  58.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'getById', array('id' => $id'force' => $force), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  59.         return $this->valueHolderc92dc->getById($id$force);
  60.     }
  61.     public function getActiveCustomerByEmail($email)
  62.     {
  63.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'getActiveCustomerByEmail', array('email' => $email), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  64.         return $this->valueHolderc92dc->getActiveCustomerByEmail($email);
  65.     }
  66.     public function applyObjectNamingScheme(\CustomerManagementFrameworkBundle\Model\CustomerInterface $customer)
  67.     {
  68.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'applyObjectNamingScheme', array('customer' => $customer), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  69.         return $this->valueHolderc92dc->applyObjectNamingScheme($customer);
  70.     }
  71.     public function getParentPath()
  72.     {
  73.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'getParentPath', array(), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  74.         return $this->valueHolderc92dc->getParentPath();
  75.     }
  76.     public function getParentParentPath()
  77.     {
  78.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'getParentParentPath', array(), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  79.         return $this->valueHolderc92dc->getParentParentPath();
  80.     }
  81.     public function setParentPath($parentPath)
  82.     {
  83.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'setParentPath', array('parentPath' => $parentPath), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  84.         return $this->valueHolderc92dc->setParentPath($parentPath);
  85.     }
  86.     public function addActiveCondition($list)
  87.     {
  88.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'addActiveCondition', array('list' => $list), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  89.         return $this->valueHolderc92dc->addActiveCondition($list);
  90.     }
  91.     public function addInActiveCondition($list)
  92.     {
  93.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'addInActiveCondition', array('list' => $list), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  94.         return $this->valueHolderc92dc->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->initializer95535 $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->valueHolderc92dc) {
  114.             $reflection $reflection ?? new \ReflectionClass('CustomerManagementFrameworkBundle\\CustomerProvider\\DefaultCustomerProvider');
  115.             $this->valueHolderc92dc $reflection->newInstanceWithoutConstructor();
  116.         unset($this->pimcoreClass$this->parentPath$this->namingScheme$this->modelFactory$this->usesClassOverride$this->classNameWithoutNamespace);
  117.         }
  118.         $this->valueHolderc92dc->__construct($pimcoreClass$parentPath$namingScheme$modelFactory);
  119.     }
  120.     public function & __get($name)
  121.     {
  122.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'__get', ['name' => $name], $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  123.         if (isset(self::$publicPropertiesb4227[$name])) {
  124.             return $this->valueHolderc92dc->$name;
  125.         }
  126.         $realInstanceReflection = new \ReflectionClass('CustomerManagementFrameworkBundle\\CustomerProvider\\DefaultCustomerProvider');
  127.         if (! $realInstanceReflection->hasProperty($name)) {
  128.             $targetObject $this->valueHolderc92dc;
  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->valueHolderc92dc;
  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->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'__set', array('name' => $name'value' => $value), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  155.         $realInstanceReflection = new \ReflectionClass('CustomerManagementFrameworkBundle\\CustomerProvider\\DefaultCustomerProvider');
  156.         if (! $realInstanceReflection->hasProperty($name)) {
  157.             $targetObject $this->valueHolderc92dc;
  158.             $targetObject->$name $value;
  159.             return $targetObject->$name;
  160.         }
  161.         $targetObject $this->valueHolderc92dc;
  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->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'__isset', array('name' => $name), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  175.         $realInstanceReflection = new \ReflectionClass('CustomerManagementFrameworkBundle\\CustomerProvider\\DefaultCustomerProvider');
  176.         if (! $realInstanceReflection->hasProperty($name)) {
  177.             $targetObject $this->valueHolderc92dc;
  178.             return isset($targetObject->$name);
  179.         }
  180.         $targetObject $this->valueHolderc92dc;
  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->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'__unset', array('name' => $name), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  193.         $realInstanceReflection = new \ReflectionClass('CustomerManagementFrameworkBundle\\CustomerProvider\\DefaultCustomerProvider');
  194.         if (! $realInstanceReflection->hasProperty($name)) {
  195.             $targetObject $this->valueHolderc92dc;
  196.             unset($targetObject->$name);
  197.             return;
  198.         }
  199.         $targetObject $this->valueHolderc92dc;
  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->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'__clone', array(), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  212.         $this->valueHolderc92dc = clone $this->valueHolderc92dc;
  213.     }
  214.     public function __sleep()
  215.     {
  216.         $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'__sleep', array(), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  217.         return array('valueHolderc92dc');
  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->initializer95535 $initializer;
  226.     }
  227.     public function getProxyInitializer() : ?\Closure
  228.     {
  229.         return $this->initializer95535;
  230.     }
  231.     public function initializeProxy() : bool
  232.     {
  233.         return $this->initializer95535 && ($this->initializer95535->__invoke($valueHolderc92dc$this'initializeProxy', array(), $this->initializer95535) || 1) && $this->valueHolderc92dc $valueHolderc92dc;
  234.     }
  235.     public function isProxyInitialized() : bool
  236.     {
  237.         return null !== $this->valueHolderc92dc;
  238.     }
  239.     public function getWrappedValueHolderValue()
  240.     {
  241.         return $this->valueHolderc92dc;
  242.     }
  243. }
  244. if (!\class_exists('DefaultCustomerProvider_35d6835'false)) {
  245.     \class_alias(__NAMESPACE__.'\\DefaultCustomerProvider_35d6835''DefaultCustomerProvider_35d6835'false);
  246. }