1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +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 // Retrieving ClassMetadatas, autoloading required since we need access to the Reflection stuff.
$metadatas = $reader->getMetadatas(); $metadatas = $reader->getMetadatas(true);
if ( ! empty($metadatas)) { if ( ! empty($metadatas)) {
// Create SchemaTool // Create SchemaTool