NextDom\Helpers\DBHelper::setField
Forces the value of a field of a given object, even if this field is not accessible.
Signature
Parameters
$targetObject
— object- The entity to alter
$field
— string- The name of the member to alter
$value
— mixed- The value to give to the member