Doctrine\Common\Persistence\PersistentObject::set
Sets a persistent fields value.
Signature
private function set(string
$field,
array
$args )
Parameters
$field
— string$args
— array
Returns
- void
Errors/Exceptions
-
BadMethodCallException
- - When no persistent field exists by that name.
-
InvalidArgumentException
- - When the wrong target object type is passed to an association