Class

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

class FieldTypeHashGenerator

Methods

generateHashValue(ArrayObject|JsonObject $parent, string $hashElementName, mixed $hashValue)

Generates the field type value $hashValue as a child of the given Object using $hashElementName as the property name.

Details

at line 21
public generateHashValue(ArrayObject|JsonObject $parent, string $hashElementName, mixed $hashValue)

Generates the field type value $hashValue as a child of the given Object using $hashElementName as the property name.

Parameters

ArrayObject|JsonObject $parent
string $hashElementName
mixed $hashValue