Set a native setting or a dynamic data property for this Field
This can also be used directly via $field->name = 'company';
Example
// Set a value for a property
$item->set('foo', 'bar');
// Set a property value directly
$item->foo = 'bar';
// Set a property using array access
$item['foo'] = 'bar';
Usage
$field = $field->set(string $key, mixed $value);
Arguments
See Also
API reference based on ProcessWire core version 3.0.236