var/cache/dev/ContainerTvMS3Ec/URLWildcardService_2299a85.php line 6

Open in your IDE?
  1. <?php
  2. namespace ContainerTvMS3Ec;
  3. include_once \dirname(__DIR__4).'/vendor/ezsystems/ezplatform-kernel/eZ/Publish/Core/Repository/URLWildcardService.php';
  4. class URLWildcardService_2299a85 extends \eZ\Publish\Core\Repository\URLWildcardService implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \eZ\Publish\Core\Repository\URLWildcardService|null wrapped object, if the proxy is initialized
  8.      */
  9.     private $valueHoldere987c null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializer298a1 null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicProperties1d886 = [
  18.         
  19.     ];
  20.     public function create(string $sourceUrlstring $destinationUrlbool $forward false) : \eZ\Publish\API\Repository\Values\Content\URLWildcard
  21.     {
  22.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'create', array('sourceUrl' => $sourceUrl'destinationUrl' => $destinationUrl'forward' => $forward), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  23.         return $this->valueHoldere987c->create($sourceUrl$destinationUrl$forward);
  24.     }
  25.     public function update(\eZ\Publish\API\Repository\Values\Content\URLWildcard $urlWildcard, \eZ\Publish\API\Repository\Values\Content\URLWildcardUpdateStruct $updateStruct) : void
  26.     {
  27.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'update', array('urlWildcard' => $urlWildcard'updateStruct' => $updateStruct), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  28.         $this->valueHoldere987c->update($urlWildcard$updateStruct);
  29. return;
  30.     }
  31.     public function remove(\eZ\Publish\API\Repository\Values\Content\URLWildcard $urlWildcard) : void
  32.     {
  33.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'remove', array('urlWildcard' => $urlWildcard), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  34.         $this->valueHoldere987c->remove($urlWildcard);
  35. return;
  36.     }
  37.     public function load(int $id) : \eZ\Publish\API\Repository\Values\Content\URLWildcard
  38.     {
  39.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'load', array('id' => $id), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  40.         return $this->valueHoldere987c->load($id);
  41.     }
  42.     public function loadAll(int $offset 0int $limit = -1) : iterable
  43.     {
  44.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadAll', array('offset' => $offset'limit' => $limit), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  45.         return $this->valueHoldere987c->loadAll($offset$limit);
  46.     }
  47.     public function translate(string $url) : \eZ\Publish\API\Repository\Values\Content\URLWildcardTranslationResult
  48.     {
  49.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'translate', array('url' => $url), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  50.         return $this->valueHoldere987c->translate($url);
  51.     }
  52.     /**
  53.      * Constructor for lazy initialization
  54.      *
  55.      * @param \Closure|null $initializer
  56.      */
  57.     public static function staticProxyConstructor($initializer)
  58.     {
  59.         static $reflection;
  60.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  61.         $instance   $reflection->newInstanceWithoutConstructor();
  62.         unset($instance->repository$instance->urlWildcardHandler$instance->settings);
  63.         \Closure::bind(function (\eZ\Publish\Core\Repository\URLWildcardService $instance) {
  64.             unset($instance->permissionResolver);
  65.         }, $instance'eZ\\Publish\\Core\\Repository\\URLWildcardService')->__invoke($instance);
  66.         $instance->initializer298a1 $initializer;
  67.         return $instance;
  68.     }
  69.     public function __construct(\eZ\Publish\API\Repository\Repository $repository, \eZ\Publish\SPI\Persistence\Content\UrlWildcard\Handler $urlWildcardHandler, \eZ\Publish\API\Repository\PermissionResolver $permissionResolver, array $settings = [])
  70.     {
  71.         static $reflection;
  72.         if (! $this->valueHoldere987c) {
  73.             $reflection $reflection ?? new \ReflectionClass('eZ\\Publish\\Core\\Repository\\URLWildcardService');
  74.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  75.         unset($this->repository$this->urlWildcardHandler$this->settings);
  76.         \Closure::bind(function (\eZ\Publish\Core\Repository\URLWildcardService $instance) {
  77.             unset($instance->permissionResolver);
  78.         }, $this'eZ\\Publish\\Core\\Repository\\URLWildcardService')->__invoke($this);
  79.         }
  80.         $this->valueHoldere987c->__construct($repository$urlWildcardHandler$permissionResolver$settings);
  81.     }
  82.     public function & __get($name)
  83.     {
  84.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  85.         if (isset(self::$publicProperties1d886[$name])) {
  86.             return $this->valueHoldere987c->$name;
  87.         }
  88.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\URLWildcardService');
  89.         if (! $realInstanceReflection->hasProperty($name)) {
  90.             $targetObject $this->valueHoldere987c;
  91.             $backtrace debug_backtrace(false1);
  92.             trigger_error(
  93.                 sprintf(
  94.                     'Undefined property: %s::$%s in %s on line %s',
  95.                     $realInstanceReflection->getName(),
  96.                     $name,
  97.                     $backtrace[0]['file'],
  98.                     $backtrace[0]['line']
  99.                 ),
  100.                 \E_USER_NOTICE
  101.             );
  102.             return $targetObject->$name;
  103.         }
  104.         $targetObject $this->valueHoldere987c;
  105.         $accessor = function & () use ($targetObject$name) {
  106.             return $targetObject->$name;
  107.         };
  108.         $backtrace debug_backtrace(true2);
  109.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  110.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  111.         $returnValue = & $accessor();
  112.         return $returnValue;
  113.     }
  114.     public function __set($name$value)
  115.     {
  116.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  117.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\URLWildcardService');
  118.         if (! $realInstanceReflection->hasProperty($name)) {
  119.             $targetObject $this->valueHoldere987c;
  120.             $targetObject->$name $value;
  121.             return $targetObject->$name;
  122.         }
  123.         $targetObject $this->valueHoldere987c;
  124.         $accessor = function & () use ($targetObject$name$value) {
  125.             $targetObject->$name $value;
  126.             return $targetObject->$name;
  127.         };
  128.         $backtrace debug_backtrace(true2);
  129.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  130.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  131.         $returnValue = & $accessor();
  132.         return $returnValue;
  133.     }
  134.     public function __isset($name)
  135.     {
  136.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  137.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\URLWildcardService');
  138.         if (! $realInstanceReflection->hasProperty($name)) {
  139.             $targetObject $this->valueHoldere987c;
  140.             return isset($targetObject->$name);
  141.         }
  142.         $targetObject $this->valueHoldere987c;
  143.         $accessor = function () use ($targetObject$name) {
  144.             return isset($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 __unset($name)
  153.     {
  154.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  155.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\URLWildcardService');
  156.         if (! $realInstanceReflection->hasProperty($name)) {
  157.             $targetObject $this->valueHoldere987c;
  158.             unset($targetObject->$name);
  159.             return;
  160.         }
  161.         $targetObject $this->valueHoldere987c;
  162.         $accessor = function () use ($targetObject$name) {
  163.             unset($targetObject->$name);
  164.             return;
  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.         $accessor();
  170.     }
  171.     public function __clone()
  172.     {
  173.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  174.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  175.     }
  176.     public function __sleep()
  177.     {
  178.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  179.         return array('valueHoldere987c');
  180.     }
  181.     public function __wakeup()
  182.     {
  183.         unset($this->repository$this->urlWildcardHandler$this->settings);
  184.         \Closure::bind(function (\eZ\Publish\Core\Repository\URLWildcardService $instance) {
  185.             unset($instance->permissionResolver);
  186.         }, $this'eZ\\Publish\\Core\\Repository\\URLWildcardService')->__invoke($this);
  187.     }
  188.     public function setProxyInitializer(\Closure $initializer null) : void
  189.     {
  190.         $this->initializer298a1 $initializer;
  191.     }
  192.     public function getProxyInitializer() : ?\Closure
  193.     {
  194.         return $this->initializer298a1;
  195.     }
  196.     public function initializeProxy() : bool
  197.     {
  198.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  199.     }
  200.     public function isProxyInitialized() : bool
  201.     {
  202.         return null !== $this->valueHoldere987c;
  203.     }
  204.     public function getWrappedValueHolderValue()
  205.     {
  206.         return $this->valueHoldere987c;
  207.     }
  208. }
  209. if (!\class_exists('URLWildcardService_2299a85'false)) {
  210.     \class_alias(__NAMESPACE__.'\\URLWildcardService_2299a85''URLWildcardService_2299a85'false);
  211. }