public function PreUpdateEventArgs::setNewValue in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php \Doctrine\Common\Persistence\Event\PreUpdateEventArgs::setNewValue()
Sets the new value of this field.
Parameters
string $field:
mixed $value:
Return value
void
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Event/ PreUpdateEventArgs.php, line 111
Class
- PreUpdateEventArgs
- Class that holds event arguments for a preUpdate event.
Namespace
Doctrine\Common\Persistence\EventCode
public function setNewValue($field, $value) {
$this
->assertValidField($field);
$this->entityChangeSet[$field][1] = $value;
}