Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

JsonObject.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\REST\Common\Output\Generator\Json;
8
15 class JsonObject
16 {
22 protected $_ref_parent;
23
29 public function __construct($_ref_parent = null)
30 {
31 $this->_ref_parent = $_ref_parent;
32 }
33
39 public function getParent()
40 {
41 return $this->_ref_parent;
42 }
43 }
eZ\Publish\Core\REST\Common\Output\Generator\Json\JsonObject
Json object.
Definition: JsonObject.php:16
eZ\Publish\Core\REST\Common\Output\Generator\Json\JsonObject\$_ref_parent
$_ref_parent
Definition: JsonObject.php:22
eZ\Publish\Core\REST\Common\Output\Generator\Json\JsonObject\__construct
__construct($_ref_parent=null)
Construct from optional parent node.
Definition: JsonObject.php:29
eZ\Publish\Core\REST\Common\Output\Generator\Json\JsonObject\getParent
getParent()
Get Parent of current node.
Definition: JsonObject.php:39
eZ\Publish\Core\REST\Common\Output\Generator\Json
Definition: ArrayObject.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.