Class Summary |
ClassMetadataReader | Class to read metadata mapping information from multiple sources into an array
of ClassMetadataInfo instances.
|
ConvertDoctrine1Schema | Class to help with converting Doctrine 1 schema files to Doctrine 2 mapping files |
EntityGenerator | Generic class used to generate PHP5 entity classes from ClassMetadataInfo instances[php]
$classes = $em->getClassMetadataFactory()->getAllMetadata();$generator = new \Doctrine\ORM\Tools\EntityGenerator();
$generator->setGenerateAnnotations(true);
$generator->setGenerateStubMethods(true);
$generator->setRegenerateEntityIfExists(false);
$generator->setUpdateEntityIfExists(true);
$generator->generate($classes, '/path/to/generate/entities'); |
SchemaTool | The SchemaTool is a tool to create/drop/update database schemas based on
ClassMetadata class descriptors. |
ToolEvents | |
ToolsException | Base exception class for all ORM exceptions. |