ontentBundle_Document_PageDocument = \Closure::bind(function ($instance, array & $properties) { $properties['' . "\0" . 'Sulu\\Bundle\\ContentBundle\\Document\\PageDocument' . "\0" . 'parent'] = & $instance->parent; }, $this, 'Sulu\\Bundle\\ContentBundle\\Document\\PageDocument'); $cacheFetchSulu_Bundle_ContentBundle_Document_PageDocument($this, $properties); $result = $this->initializer05bf8->__invoke($this, $methodName, $parameters, $this->initializer05bf8, $properties); $this->initializationTracker32ad0 = false; return $result; } /** * Constructor for lazy initialization * * @param \Closure|null $initializer */ public static function staticProxyConstructor($initializer) { static $reflection; $reflection = $reflection ?? $reflection = new \ReflectionClass(__CLASS__); $instance = $reflection->newInstanceWithoutConstructor(); unset($instance->nodeName, $instance->created, $instance->changed, $instance->creator, $instance->changer, $instance->title, $instance->resourceSegment, $instance->navigationContexts, $instance->redirectType, $instance->redirectTarget, $instance->redirectExternal, $instance->workflowStage, $instance->published, $instance->shadowLocaleEnabled, $instance->shadowLocale, $instance->uuid, $instance->structureType, $instance->structure, $instance->locale, $instance->originalLocale, $instance->children, $instance->path, $instance->extensions, $instance->webspaceName, $instance->suluOrder, $instance->permissions, $instance->versions, $instance->authored, $instance->author); \Closure::bind(function (\Sulu\Bundle\ContentBundle\Document\PageDocument $instance) { unset($instance->parent); }, $instance, 'Sulu\\Bundle\\ContentBundle\\Document\\PageDocument')->__invoke($instance); $instance->initializer05bf8 = $initializer; return $instance; } public function & __get($name) { $this->initializer05bf8 && ! $this->initializationTracker32ad0 && $this->callInitializerab15b('__get', array('name' => $name)); if (isset(self::$publicProperties2f672[$name])) { return $this->$name; } if (isset(self::$protectedProperties9205f[$name])) { if ($this->initializationTracker32ad0) { return $this->$name; } // check protected property access via compatible class $callers = debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT, 2); $caller = isset($callers[1]) ? $callers[1] : []; $object = isset($caller['object']) ? $caller['object'] : ''; $expectedType = self::$protectedProperties9205f[$name]; if ($object instanceof $expectedType) { return $this->$name; } $class = isset($caller['class']) ? $caller['class'] : ''; if ($class === $expectedType || is_subclass_of($class, $expectedType) || $class === 'ReflectionProperty') { return $this->$name; } } elseif (isset(self::$privatePropertiesb6343[$name])) { // check private property access via same class $callers = debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT, 2); $caller = isset($callers[1]) ? $callers[1] : []; $class = isset($caller['class']) ? $caller['class'] : ''; static $accessorCache = []; if (isset(self::$privatePropertiesb6343[$name][$class])) { $cacheKey = $class . '#' . $name; $accessor = isset($accessorCache[$cacheKey]) ? $accessorCache[$cacheKey] : $accessorCache[$cacheKey] = \Closure::bind(function & ($instance) use ($name) { return $instance->$name; }, null, $class); return $accessor($this); } if ($this->initializationTracker32ad0 || 'ReflectionProperty' === $class) { $tmpClass = key(self::$privatePropertiesb6343[$name]); $cacheKey = $tmpClass . '#' . $name; $accessor = isset($accessorCache[$cacheKey]) ? $accessorCache[$cacheKey] : $accessorCache[$cacheKey] = \Closure::bind(function & ($instance) use ($name) { return $instance->$name; }, null, $tmpClass); return $accessor($this); } } $realInstanceReflection = new \ReflectionClass(get_parent_class($this)); if (! $realInstanceReflection->hasProperty($name)) { $targetObject = $this; $backtrace = debug_backtrace(false); trigger_error( sprintf( 'Undefined property: %s::$%s in %s on line %s', get_parent_class($this), $name, $backtrace[0]['file'], $backtrace[0]['line'] ), \E_USER_NOTICE ); return $targetObject->$name; return; } $targetObject = unserialize(sprintf('O:%d:"%s":0:{}', strlen(get_parent_class($this)), get_parent_class($this))); $accessor = function & () use ($targetObject, $name) { return $targetObject->$name; }; $backtrace = debug_backtrace(true); $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub(); $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject)); $returnValue = & $accessor(); return $returnValue; } public function __set($name, $value) { $this->initializer05bf8 && $this->callInitializerab15b('__set', array('name' => $name, 'value' => $value)); if (isset(self::$publicProperties2f672[$name])) { return ($this->$name = $value); } if (isset(self::$protectedProperties9205f[$name])) { // check protected property access via compatible class $callers = debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT, 2); $caller = isset($callers[1]) ? $callers[1] : []; $object = isset($caller['object']) ? $caller['object'] : ''; $expectedType = self::$protectedProperties9205f[$name]; if ($object instanceof $expectedType) { return ($this->$name = $value); } $class = isset($caller['class']) ? $caller['class'] : ''; if ($class === $expectedType || is_subclass_of($class, $expectedType) || $class === 'ReflectionProperty') { return ($this->$name = $value); } } elseif (isset(self::$privatePropertiesb6343[$name])) { // check private property access via same class $callers = debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT, 2); $caller = isset($callers[1]) ? $callers[1] : []; $class = isset($caller['class']) ? $caller['class'] : ''; static $accessorCache = []; if (isset(self::$privatePropertiesb6343[$name][$class])) { $cacheKey = $class . '#' . $name; $accessor = isset($accessorCache[$cacheKey]) ? $accessorCache[$cacheKey] : $accessorCache[$cacheKey] = \Closure::bind(function ($instance, $value) use ($name) { return ($instance->$name = $value); }, null, $class); return $accessor($this, $value); } if ('ReflectionProperty' === $class) { $tmpClass = key(self::$privatePropertiesb6343[$name]); $cacheKey = $tmpClass . '#' . $name; $accessor = isset($accessorCache[$cacheKey]) ? $accessorCache[$cacheKey] : $accessorCache[$cacheKey] = \Closure::bind(function ($instance, $value) use ($name) { return ($instance->$name = $value); }, null, $tmpClass); return $accessor($this, $value); } } $realInstanceReflection = new \ReflectionClass(get_parent_class($this)); if (! $realInstanceReflection->hasProperty($name)) { $targetObject = $this; return $targetObject->$name = $value; return; } $targetObject = unserialize(sprintf('O:%d:"%s":0:{}', strlen(get_parent_class($this)), get_parent_class($this))); $accessor = function & () use ($targetObject, $name, $value) { return $targetObject->$name = $value; }; $backtrace = debug_backtrace(true); $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub(); $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject)); $returnValue = & $accessor(); return $returnValue; } public function __isset($name) { $this->initializer05bf8 && $this->callInitializerab15b('__isset', array('name' => $name)); if (isset(self::$publicProperties2f672[$name])) { return isset($this->$name); } if (isset(self::$protectedProperties9205f[$name])) { // check protected property access via compatible class $callers = debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT, 2); $caller = isset($callers[1]) ? $callers[1] : []; $object = isset($caller['object']) ? $caller['object'] : ''; $expectedType = self::$protectedProperties9205f[$name]; if ($object instanceof $expectedType) { return isset($this->$name); } $class = isset($caller['class']) ? $caller['class'] : ''; if ($class === $expectedType || is_subclass_of($class, $expectedType)) { return isset($this->$name); } } else { // check private property access via same class $callers = debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT, 2); $caller = isset($callers[1]) ? $callers[1] : []; $class = isset($caller['class']) ? $caller['class'] : ''; static $accessorCache = []; if (isset(self::$privatePropertiesb6343[$name][$class])) { $cacheKey = $class . '#' . $name; $accessor = isset($accessorCache[$cacheKey]) ? $accessorCache[$cacheKey] : $accessorCache[$cacheKey] = \Closure::bind(function ($instance) use ($name) { return isset($instance->$name); }, null, $class); return $accessor($this); } if ('ReflectionProperty' === $class) { $tmpClass = key(self::$privatePropertiesb6343[$name]); $cacheKey = $tmpClass . '#' . $name; $accessor = isset($accessorCache[$cacheKey]) ? $accessorCache[$cacheKey] : $accessorCache[$cacheKey] = \Closure::bind(function ($instance) use ($name) { return isset($instance->$name); }, null, $tmpClass); return $accessor($this); } } $realInstanceReflection = new \ReflectionClass(get_parent_class($this)); if (! $realInstanceReflection->hasProperty($name)) { $targetObject = $this; return isset($targetObject->$name); return; } $targetObject = unserialize(sprintf('O:%d:"%s":0:{}', strlen(get_parent_class($this)), get_parent_class($this))); $accessor = function () use ($targetObject, $name) { return isset($targetObject->$name); }; $backtrace = debug_backtrace(true); $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub(); $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject)); $returnValue = $accessor(); return $returnValue; } public function __unset($name) { $this->initializer05bf8 && $this->callInitializerab15b('__unset', array('name' => $name)); if (isset(self::$publicProperties2f672[$name])) { unset($this->$name); return; } if (isset(self::$protectedProperties9205f[$name])) { // check protected property access via compatible class $callers = debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT, 2); $caller = isset($callers[1]) ? $callers[1] : []; $object = isset($caller['object']) ? $caller['object'] : ''; $expectedType = self::$protectedProperties9205f[$name]; if ($object instanceof $expectedType) { unset($this->$name); return; } $class = isset($caller['class']) ? $caller['class'] : ''; if ($class === $expectedType || is_subclass_of($class, $expectedType) || $class === 'ReflectionProperty') { unset($this->$name); return; } } elseif (isset(self::$privatePropertiesb6343[$name])) { // check private property access via same class $callers = debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT, 2); $caller = isset($callers[1]) ? $callers[1] : []; $class = isset($caller['class']) ? $caller['class'] : ''; static $accessorCache = []; if (isset(self::$privatePropertiesb6343[$name][$class])) { $cacheKey = $class . '#' . $name; $accessor = isset($accessorCache[$cacheKey]) ? $accessorCache[$cacheKey] : $accessorCache[$cacheKey] = \Closure::bind(function ($instance) use ($name) { unset($instance->$name); }, null, $class); return $accessor($this); } if ('ReflectionProperty' === $class) { $tmpClass = key(self::$privatePropertiesb6343[$name]); $cacheKey = $tmpClass . '#' . $name; $accessor = isset($accessorCache[$cacheKey]) ? $accessorCache[$cacheKey] : $accessorCache[$cacheKey] = \Closure::bind(function ($instance) use ($name) { unset($instance->$name); }, null, $tmpClass); return $accessor($this); } } $realInstanceReflection = new \ReflectionClass(get_parent_class($this)); if (! $realInstanceReflection->hasProperty($name)) { $targetObject = $this; unset($targetObject->$name); return; } $targetObject = unserialize(sprintf('O:%d:"%s":0:{}', strlen(get_parent_class($this)), get_parent_class($this))); $accessor = function () use ($targetObject, $name) { unset($targetObject->$name); }; $backtrace = debug_backtrace(true); $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub(); $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject)); $returnValue = $accessor(); return $returnValue; } public function __clone() { $this->initializer05bf8 && $this->callInitializerab15b('__clone', []); } public function __sleep() { $this->initializer05bf8 && $this->callInitializerab15b('__sleep', []); return array_keys((array) $this); } public function setProxyInitializer(\Closure $initializer = null) { $this->initializer05bf8 = $initializer; } public function getProxyInitializer() { return $this->initializer05bf8; } public function initializeProxy() : bool { return $this->initializer05bf8 && $this->callInitializerab15b('initializeProxy', []); } public function isProxyInitialized() : bool { return ! $this->initializer05bf8; } }

Error 500: Internal Server Error