generateHashValue() public method

Generates the field type value $hashValue as a child of the given Object using $hashElementName as the property name.
public generateHashValue ( ArrayObject | Object $parent, string $hashElementName, mixed $hashValue )
$parent ArrayObject | Object
$hashElementName string
$hashValue mixed
Example #1
0
 /**
  * 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);
 }