1
0
Fork 0
mirror of synced 2025-04-01 12:26:11 +03:00

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

This commit is contained in:
Benjamin Eberlei 2010-04-10 11:30:39 +02:00
parent a7d07fcdba
commit 5d329d7e2c

View file

@ -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