Commit 832f355a authored by romanb's avatar romanb

[2.0] Cleanup.

parent ee46dba3
......@@ -827,6 +827,12 @@ 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])) {
......@@ -834,13 +840,6 @@ final class ClassMetadata
}
}
public function setValueIfChanged($entity, $field, $value)
{
if (isset($this->_reflectionProperties[$field])) {
$this->_reflectionProperties[$field]->setValue($entity, $value);
}
}
/**
* Gets all field mappings.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment