public generateHashValue ( |
||
$parent | ||
$hashElementName | string | |
$hashValue | mixed |
public function generateHashValue($parent, $hashElementName, $hashValue)
{
$parent->{$hashElementName} = $this->generateValue($parent, $hashValue);
}
/** * 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); }