1
0
Fork 0
mirror of synced 2025-03-30 03:30:13 +03:00

[2.0][DDC-104] Making sure current code is cleared

This commit is contained in:
jwage 2009-11-11 19:34:43 +00:00
parent ab0c7b11c8
commit 1405993e6a

View file

@ -60,6 +60,7 @@ class AnnotationExporter extends AbstractExporter
*/
public function exportClassMetadata(ClassMetadataInfo $metadata)
{
$this->_currentCode = null;
if (file_exists($this->_outputPath)) {
$this->_currentCode = file_get_contents($this->_outputPath);
}