[2.0][DDC-104] Making sure current code is cleared
This commit is contained in:
parent
ab0c7b11c8
commit
1405993e6a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue