eZ\Publish\Core\REST\Common\Output\Generator\Json::generateFieldTypeHash PHP Method

generateFieldTypeHash() public method

Generates a generic representation of the scalar, hash or list given in $hashValue into the document, using an element of $hashElementName as its parent.
public generateFieldTypeHash ( string $hashElementName, mixed $hashValue )
$hashElementName string
$hashValue mixed
    public function generateFieldTypeHash($hashElementName, $hashValue)
    {
        $this->fieldTypeHashGenerator->generateHashValue($this->json, $hashElementName, $hashValue);
    }