set()
set(string|array $property, mixed $value = null, array $options = array()) : \Cake\Datasource\EntityInterface
Sets one or multiple properties to the specified value
Parameters
string|array | $property | the name of property to set or a list of properties with their respective values |
mixed | $value | The value to set to the property or an array if the first argument is also an array, in which case will be treated as $options |
array | $options | options to be used for setting the property. Allowed option
keys are |