Commit 1405993e authored by jwage's avatar jwage

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

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