var/cache/dev/ContainerTvMS3Ec/SectionService_1c1d5e0.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/SectionService.php';
  4. class SectionService_1c1d5e0 extends \eZ\Publish\Core\Repository\SectionService implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \eZ\Publish\Core\Repository\SectionService|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 createSection(\eZ\Publish\API\Repository\Values\Content\SectionCreateStruct $sectionCreateStruct) : \eZ\Publish\API\Repository\Values\Content\Section
  21.     {
  22.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'createSection', array('sectionCreateStruct' => $sectionCreateStruct), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  23.         return $this->valueHoldere987c->createSection($sectionCreateStruct);
  24.     }
  25.     public function updateSection(\eZ\Publish\API\Repository\Values\Content\Section $section, \eZ\Publish\API\Repository\Values\Content\SectionUpdateStruct $sectionUpdateStruct) : \eZ\Publish\API\Repository\Values\Content\Section
  26.     {
  27.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'updateSection', array('section' => $section'sectionUpdateStruct' => $sectionUpdateStruct), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  28.         return $this->valueHoldere987c->updateSection($section$sectionUpdateStruct);
  29.     }
  30.     public function loadSection(int $sectionId) : \eZ\Publish\API\Repository\Values\Content\Section
  31.     {
  32.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadSection', array('sectionId' => $sectionId), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  33.         return $this->valueHoldere987c->loadSection($sectionId);
  34.     }
  35.     public function loadSections() : iterable
  36.     {
  37.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadSections', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  38.         return $this->valueHoldere987c->loadSections();
  39.     }
  40.     public function loadSectionByIdentifier(string $sectionIdentifier) : \eZ\Publish\API\Repository\Values\Content\Section
  41.     {
  42.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadSectionByIdentifier', array('sectionIdentifier' => $sectionIdentifier), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  43.         return $this->valueHoldere987c->loadSectionByIdentifier($sectionIdentifier);
  44.     }
  45.     public function countAssignedContents(\eZ\Publish\API\Repository\Values\Content\Section $section) : int
  46.     {
  47.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'countAssignedContents', array('section' => $section), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  48.         return $this->valueHoldere987c->countAssignedContents($section);
  49.     }
  50.     public function isSectionUsed(\eZ\Publish\API\Repository\Values\Content\Section $section) : bool
  51.     {
  52.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'isSectionUsed', array('section' => $section), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  53.         return $this->valueHoldere987c->isSectionUsed($section);
  54.     }
  55.     public function assignSection(\eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, \eZ\Publish\API\Repository\Values\Content\Section $section) : void
  56.     {
  57.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'assignSection', array('contentInfo' => $contentInfo'section' => $section), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  58.         $this->valueHoldere987c->assignSection($contentInfo$section);
  59. return;
  60.     }
  61.     public function assignSectionToSubtree(\eZ\Publish\API\Repository\Values\Content\Location $location, \eZ\Publish\API\Repository\Values\Content\Section $section) : void
  62.     {
  63.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'assignSectionToSubtree', array('location' => $location'section' => $section), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  64.         $this->valueHoldere987c->assignSectionToSubtree($location$section);
  65. return;
  66.     }
  67.     public function deleteSection(\eZ\Publish\API\Repository\Values\Content\Section $section) : void
  68.     {
  69.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'deleteSection', array('section' => $section), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  70.         $this->valueHoldere987c->deleteSection($section);
  71. return;
  72.     }
  73.     public function newSectionCreateStruct() : \eZ\Publish\API\Repository\Values\Content\SectionCreateStruct
  74.     {
  75.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'newSectionCreateStruct', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  76.         return $this->valueHoldere987c->newSectionCreateStruct();
  77.     }
  78.     public function newSectionUpdateStruct() : \eZ\Publish\API\Repository\Values\Content\SectionUpdateStruct
  79.     {
  80.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'newSectionUpdateStruct', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  81.         return $this->valueHoldere987c->newSectionUpdateStruct();
  82.     }
  83.     /**
  84.      * Constructor for lazy initialization
  85.      *
  86.      * @param \Closure|null $initializer
  87.      */
  88.     public static function staticProxyConstructor($initializer)
  89.     {
  90.         static $reflection;
  91.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  92.         $instance   $reflection->newInstanceWithoutConstructor();
  93.         unset($instance->repository$instance->permissionResolver$instance->permissionCriterionResolver$instance->sectionHandler$instance->locationHandler$instance->settings);
  94.         $instance->initializer298a1 $initializer;
  95.         return $instance;
  96.     }
  97.     public function __construct(\eZ\Publish\API\Repository\Repository $repository, \eZ\Publish\SPI\Persistence\Content\Section\Handler $sectionHandler, \eZ\Publish\SPI\Persistence\Content\Location\Handler $locationHandler, \eZ\Publish\API\Repository\PermissionCriterionResolver $permissionCriterionResolver, array $settings = [])
  98.     {
  99.         static $reflection;
  100.         if (! $this->valueHoldere987c) {
  101.             $reflection $reflection ?? new \ReflectionClass('eZ\\Publish\\Core\\Repository\\SectionService');
  102.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  103.         unset($this->repository$this->permissionResolver$this->permissionCriterionResolver$this->sectionHandler$this->locationHandler$this->settings);
  104.         }
  105.         $this->valueHoldere987c->__construct($repository$sectionHandler$locationHandler$permissionCriterionResolver$settings);
  106.     }
  107.     public function & __get($name)
  108.     {
  109.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  110.         if (isset(self::$publicProperties1d886[$name])) {
  111.             return $this->valueHoldere987c->$name;
  112.         }
  113.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\SectionService');
  114.         if (! $realInstanceReflection->hasProperty($name)) {
  115.             $targetObject $this->valueHoldere987c;
  116.             $backtrace debug_backtrace(false1);
  117.             trigger_error(
  118.                 sprintf(
  119.                     'Undefined property: %s::$%s in %s on line %s',
  120.                     $realInstanceReflection->getName(),
  121.                     $name,
  122.                     $backtrace[0]['file'],
  123.                     $backtrace[0]['line']
  124.                 ),
  125.                 \E_USER_NOTICE
  126.             );
  127.             return $targetObject->$name;
  128.         }
  129.         $targetObject $this->valueHoldere987c;
  130.         $accessor = function & () use ($targetObject$name) {
  131.             return $targetObject->$name;
  132.         };
  133.         $backtrace debug_backtrace(true2);
  134.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  135.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  136.         $returnValue = & $accessor();
  137.         return $returnValue;
  138.     }
  139.     public function __set($name$value)
  140.     {
  141.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  142.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\SectionService');
  143.         if (! $realInstanceReflection->hasProperty($name)) {
  144.             $targetObject $this->valueHoldere987c;
  145.             $targetObject->$name $value;
  146.             return $targetObject->$name;
  147.         }
  148.         $targetObject $this->valueHoldere987c;
  149.         $accessor = function & () use ($targetObject$name$value) {
  150.             $targetObject->$name $value;
  151.             return $targetObject->$name;
  152.         };
  153.         $backtrace debug_backtrace(true2);
  154.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  155.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  156.         $returnValue = & $accessor();
  157.         return $returnValue;
  158.     }
  159.     public function __isset($name)
  160.     {
  161.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  162.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\SectionService');
  163.         if (! $realInstanceReflection->hasProperty($name)) {
  164.             $targetObject $this->valueHoldere987c;
  165.             return isset($targetObject->$name);
  166.         }
  167.         $targetObject $this->valueHoldere987c;
  168.         $accessor = function () use ($targetObject$name) {
  169.             return isset($targetObject->$name);
  170.         };
  171.         $backtrace debug_backtrace(true2);
  172.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  173.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  174.         $returnValue $accessor();
  175.         return $returnValue;
  176.     }
  177.     public function __unset($name)
  178.     {
  179.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  180.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\SectionService');
  181.         if (! $realInstanceReflection->hasProperty($name)) {
  182.             $targetObject $this->valueHoldere987c;
  183.             unset($targetObject->$name);
  184.             return;
  185.         }
  186.         $targetObject $this->valueHoldere987c;
  187.         $accessor = function () use ($targetObject$name) {
  188.             unset($targetObject->$name);
  189.             return;
  190.         };
  191.         $backtrace debug_backtrace(true2);
  192.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  193.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  194.         $accessor();
  195.     }
  196.     public function __clone()
  197.     {
  198.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  199.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  200.     }
  201.     public function __sleep()
  202.     {
  203.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  204.         return array('valueHoldere987c');
  205.     }
  206.     public function __wakeup()
  207.     {
  208.         unset($this->repository$this->permissionResolver$this->permissionCriterionResolver$this->sectionHandler$this->locationHandler$this->settings);
  209.     }
  210.     public function setProxyInitializer(\Closure $initializer null) : void
  211.     {
  212.         $this->initializer298a1 $initializer;
  213.     }
  214.     public function getProxyInitializer() : ?\Closure
  215.     {
  216.         return $this->initializer298a1;
  217.     }
  218.     public function initializeProxy() : bool
  219.     {
  220.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  221.     }
  222.     public function isProxyInitialized() : bool
  223.     {
  224.         return null !== $this->valueHoldere987c;
  225.     }
  226.     public function getWrappedValueHolderValue()
  227.     {
  228.         return $this->valueHoldere987c;
  229.     }
  230. }
  231. if (!\class_exists('SectionService_1c1d5e0'false)) {
  232.     \class_alias(__NAMESPACE__.'\\SectionService_1c1d5e0''SectionService_1c1d5e0'false);
  233. }