1
0
mirror of synced 2025-01-18 06:21:40 +03:00

[2.0] Cleanup.

This commit is contained in:
romanb 2009-04-12 19:05:22 +00:00
parent ee46dba332
commit 832f355a30

View File

@ -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.