eZ\Publish\Core\REST\Common\Output\Generator\Xml::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->hashGenerator->generateHashValue($this->xmlWriter, $hashElementName, $hashValue);
    }