private convertArrayToEntityValue ( array $value ) : array | ||
$value | array | The input array |
return | array | The entityValue property |
private function convertArrayToEntityValue(array $value)
{
$properties = [];
foreach ($value as $key => $val) {
$properties[$key] = $this->valueObject($val);
}
return ['entityValue' => ['properties' => $properties]];
}