Class

eZ\Publish\Core\REST\Common\Output\Generator\Json\JsonObject

class JsonObject

Json object.

Special JSON object (\stdClass) implementation, which allows to access the parent object it is assigned to again.

Methods

__construct(mixed $_ref_parent = null)

Construct from optional parent node.

JsonObject getParent()

Get Parent of current node.

Details

at line 31
public __construct(mixed $_ref_parent = null)

Construct from optional parent node.

Parameters

mixed $_ref_parent

at line 41
public JsonObject getParent()

Get Parent of current node.

Return Value

JsonObject