Generates the field type value $hashValue as a child of the given Object
using $hashElementName as the property name.
public generateHashValue ( |
||
$parent | ||
$hashElementName | string | |
$hashValue | mixed |
/** * Generates a generic representation of the scalar, hash or list given in * $hashValue into the document, using an element of $hashElementName as * its parent. * * @param string $hashElementName * @param mixed $hashValue */ public function generateFieldTypeHash($hashElementName, $hashValue) { $this->fieldTypeHashGenerator->generateHashValue($this->json, $hashElementName, $hashValue); }