var/cache/dev/ContainerTvMS3Ec/VersatileHandler_19680bf.php line 9

Open in your IDE?
  1. <?php
  2. namespace ContainerTvMS3Ec;
  3. include_once \dirname(__DIR__4).'/vendor/ezsystems/ezplatform-kernel/eZ/Publish/SPI/Search/Handler.php';
  4. include_once \dirname(__DIR__4).'/vendor/ezsystems/ezplatform-kernel/eZ/Publish/SPI/Search/Capable.php';
  5. include_once \dirname(__DIR__4).'/vendor/ezsystems/ezplatform-kernel/eZ/Publish/SPI/Search/ContentTranslationHandler.php';
  6. include_once \dirname(__DIR__4).'/vendor/ezsystems/ezplatform-kernel/eZ/Publish/SPI/Search/VersatileHandler.php';
  7. class VersatileHandler_19680bf implements \ProxyManager\Proxy\VirtualProxyInterface, \eZ\Publish\SPI\Search\VersatileHandler
  8. {
  9.     /**
  10.      * @var \eZ\Publish\SPI\Search\VersatileHandler|null wrapped object, if the proxy is initialized
  11.      */
  12.     private $valueHoldere987c null;
  13.     /**
  14.      * @var \Closure|null initializer responsible for generating the wrapped object
  15.      */
  16.     private $initializer298a1 null;
  17.     /**
  18.      * @var bool[] map of public properties of the parent class
  19.      */
  20.     private static $publicProperties1d886 = [
  21.         
  22.     ];
  23.     public function findContent(\eZ\Publish\API\Repository\Values\Content\Query $query, array $languageFilter = [])
  24.     {
  25.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'findContent', array('query' => $query'languageFilter' => $languageFilter), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  26.         return $this->valueHoldere987c->findContent($query$languageFilter);
  27.     }
  28.     public function findSingle(\eZ\Publish\API\Repository\Values\Content\Query\Criterion $filter, array $languageFilter = [])
  29.     {
  30.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'findSingle', array('filter' => $filter'languageFilter' => $languageFilter), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  31.         return $this->valueHoldere987c->findSingle($filter$languageFilter);
  32.     }
  33.     public function findLocations(\eZ\Publish\API\Repository\Values\Content\LocationQuery $query, array $languageFilter = [])
  34.     {
  35.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'findLocations', array('query' => $query'languageFilter' => $languageFilter), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  36.         return $this->valueHoldere987c->findLocations($query$languageFilter);
  37.     }
  38.     public function suggest($prefix$fieldPaths = [], $limit 10, ?\eZ\Publish\API\Repository\Values\Content\Query\Criterion $filter null)
  39.     {
  40.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'suggest', array('prefix' => $prefix'fieldPaths' => $fieldPaths'limit' => $limit'filter' => $filter), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  41.         return $this->valueHoldere987c->suggest($prefix$fieldPaths$limit$filter);
  42.     }
  43.     public function indexContent(\eZ\Publish\SPI\Persistence\Content $content)
  44.     {
  45.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'indexContent', array('content' => $content), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  46.         return $this->valueHoldere987c->indexContent($content);
  47.     }
  48.     public function deleteContent($contentId$versionId null)
  49.     {
  50.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'deleteContent', array('contentId' => $contentId'versionId' => $versionId), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  51.         return $this->valueHoldere987c->deleteContent($contentId$versionId);
  52.     }
  53.     public function indexLocation(\eZ\Publish\SPI\Persistence\Content\Location $location)
  54.     {
  55.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'indexLocation', array('location' => $location), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  56.         return $this->valueHoldere987c->indexLocation($location);
  57.     }
  58.     public function deleteLocation($locationId$contentId)
  59.     {
  60.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'deleteLocation', array('locationId' => $locationId'contentId' => $contentId), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  61.         return $this->valueHoldere987c->deleteLocation($locationId$contentId);
  62.     }
  63.     public function purgeIndex()
  64.     {
  65.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'purgeIndex', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  66.         return $this->valueHoldere987c->purgeIndex();
  67.     }
  68.     public function supports(int $capabilityFlag) : bool
  69.     {
  70.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'supports', array('capabilityFlag' => $capabilityFlag), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  71.         return $this->valueHoldere987c->supports($capabilityFlag);
  72.     }
  73.     public function deleteTranslation(int $contentIdstring $languageCode) : void
  74.     {
  75.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'deleteTranslation', array('contentId' => $contentId'languageCode' => $languageCode), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  76.         $this->valueHoldere987c->deleteTranslation($contentId$languageCode);
  77. return;
  78.     }
  79.     /**
  80.      * Constructor for lazy initialization
  81.      *
  82.      * @param \Closure|null $initializer
  83.      */
  84.     public static function staticProxyConstructor($initializer)
  85.     {
  86.         static $reflection;
  87.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  88.         $instance   $reflection->newInstanceWithoutConstructor();
  89.         $instance->initializer298a1 $initializer;
  90.         return $instance;
  91.     }
  92.     public function __construct()
  93.     {
  94.         static $reflection;
  95.         if (! $this->valueHoldere987c) {
  96.             $reflection $reflection ?? new \ReflectionClass('eZ\\Publish\\SPI\\Search\\VersatileHandler');
  97.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  98.         }
  99.     }
  100.     public function & __get($name)
  101.     {
  102.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  103.         if (isset(self::$publicProperties1d886[$name])) {
  104.             return $this->valueHoldere987c->$name;
  105.         }
  106.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\SPI\\Search\\VersatileHandler');
  107.         if (! $realInstanceReflection->hasProperty($name)) {
  108.             $targetObject $this->valueHoldere987c;
  109.             $backtrace debug_backtrace(false1);
  110.             trigger_error(
  111.                 sprintf(
  112.                     'Undefined property: %s::$%s in %s on line %s',
  113.                     $realInstanceReflection->getName(),
  114.                     $name,
  115.                     $backtrace[0]['file'],
  116.                     $backtrace[0]['line']
  117.                 ),
  118.                 \E_USER_NOTICE
  119.             );
  120.             return $targetObject->$name;
  121.         }
  122.         $targetObject $this->valueHoldere987c;
  123.         $accessor = function & () use ($targetObject$name) {
  124.             return $targetObject->$name;
  125.         };
  126.         $backtrace debug_backtrace(true2);
  127.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  128.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  129.         $returnValue = & $accessor();
  130.         return $returnValue;
  131.     }
  132.     public function __set($name$value)
  133.     {
  134.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  135.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\SPI\\Search\\VersatileHandler');
  136.         if (! $realInstanceReflection->hasProperty($name)) {
  137.             $targetObject $this->valueHoldere987c;
  138.             $targetObject->$name $value;
  139.             return $targetObject->$name;
  140.         }
  141.         $targetObject $this->valueHoldere987c;
  142.         $accessor = function & () use ($targetObject$name$value) {
  143.             $targetObject->$name $value;
  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 __isset($name)
  153.     {
  154.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  155.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\SPI\\Search\\VersatileHandler');
  156.         if (! $realInstanceReflection->hasProperty($name)) {
  157.             $targetObject $this->valueHoldere987c;
  158.             return isset($targetObject->$name);
  159.         }
  160.         $targetObject $this->valueHoldere987c;
  161.         $accessor = function () use ($targetObject$name) {
  162.             return isset($targetObject->$name);
  163.         };
  164.         $backtrace debug_backtrace(true2);
  165.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  166.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  167.         $returnValue $accessor();
  168.         return $returnValue;
  169.     }
  170.     public function __unset($name)
  171.     {
  172.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  173.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\SPI\\Search\\VersatileHandler');
  174.         if (! $realInstanceReflection->hasProperty($name)) {
  175.             $targetObject $this->valueHoldere987c;
  176.             unset($targetObject->$name);
  177.             return;
  178.         }
  179.         $targetObject $this->valueHoldere987c;
  180.         $accessor = function () use ($targetObject$name) {
  181.             unset($targetObject->$name);
  182.             return;
  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.         $accessor();
  188.     }
  189.     public function __clone()
  190.     {
  191.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  192.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  193.     }
  194.     public function __sleep()
  195.     {
  196.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  197.         return array('valueHoldere987c');
  198.     }
  199.     public function __wakeup()
  200.     {
  201.     }
  202.     public function setProxyInitializer(\Closure $initializer null) : void
  203.     {
  204.         $this->initializer298a1 $initializer;
  205.     }
  206.     public function getProxyInitializer() : ?\Closure
  207.     {
  208.         return $this->initializer298a1;
  209.     }
  210.     public function initializeProxy() : bool
  211.     {
  212.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  213.     }
  214.     public function isProxyInitialized() : bool
  215.     {
  216.         return null !== $this->valueHoldere987c;
  217.     }
  218.     public function getWrappedValueHolderValue()
  219.     {
  220.         return $this->valueHoldere987c;
  221.     }
  222. }
  223. if (!\class_exists('VersatileHandler_19680bf'false)) {
  224.     \class_alias(__NAMESPACE__.'\\VersatileHandler_19680bf''VersatileHandler_19680bf'false);
  225. }