[2.0] Cleanup.
This commit is contained in:
parent
ee46dba332
commit
832f355a30
@ -827,19 +827,18 @@ final class ClassMetadata
|
||||
return isset($this->_columnNames[$fieldName]);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param <type> $entity
|
||||
* @param <type> $field
|
||||
* @param <type> $value
|
||||
*/
|
||||
public function setValue($entity, $field, $value)
|
||||
{
|
||||
if (isset($this->_reflectionProperties[$field])) {
|
||||
$this->_reflectionProperties[$field]->setValue($entity, $value);
|
||||
}
|
||||
}
|
||||
|
||||
public function setValueIfChanged($entity, $field, $value)
|
||||
{
|
||||
if (isset($this->_reflectionProperties[$field])) {
|
||||
$this->_reflectionProperties[$field]->setValue($entity, $value);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all field mappings.
|
||||
|
Loading…
x
Reference in New Issue
Block a user