Commit 5d329d7e authored by Benjamin Eberlei's avatar Benjamin Eberlei

DDC-502, DDC-507 - Fix refactorings to work with Annotations Driver also

parent a7d07fcd
......@@ -73,8 +73,8 @@ abstract class AbstractCommand extends Command
}
}
// Retrieving ClassMetadatas
$metadatas = $reader->getMetadatas();
// Retrieving ClassMetadatas, autoloading required since we need access to the Reflection stuff.
$metadatas = $reader->getMetadatas(true);
if ( ! empty($metadatas)) {
// Create SchemaTool
......
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