| 1 | <?php |
||
| 17 | class JsonObject |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Reference to the parent node. |
||
| 21 | * |
||
| 22 | * @var \eZ\Publish\Core\REST\Common\Output\Generator\Json\JsonObject |
||
| 23 | */ |
||
| 24 | protected $_ref_parent; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Construct from optional parent node. |
||
| 28 | * |
||
| 29 | * @param mixed $_ref_parent |
||
| 30 | */ |
||
| 31 | public function __construct($_ref_parent = null) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Get Parent of current node. |
||
| 38 | * |
||
| 39 | * @return \eZ\Publish\Core\REST\Common\Output\Generator\Json\JsonObject |
||
| 40 | */ |
||
| 41 | public function getParent() |
||
| 45 | } |
||
| 46 |