public function PreUpdateEventArgs::getNewValue in Plug 7
Gets the new value of the changeset of the changed field.
Parameters
string $field:
Return value
mixed
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Event/ PreUpdateEventArgs.php, line 96
Class
- PreUpdateEventArgs
- Class that holds event arguments for a preUpdate event.
Namespace
Doctrine\Common\Persistence\EventCode
public function getNewValue($field) {
$this
->assertValidField($field);
return $this->entityChangeSet[$field][1];
}