protected generateWriteValue ( string $name, array $attributes, array $params ) : mixed | ||
$name | string | The name of the the attribute to be updated. |
$attributes | array | The data array that holds all attribute values. |
$params | array | The parameters for this write operation. |
return | mixed | The value to be written. |
protected function generateWriteValue($name, $attributes, $params)
{
if (isset($attributes[$name])) {
return $attributes[$name];
} else {
return '';
}
}