Doctrine


Namespace Doctrine\ORM\Tools

Class Summary
ClassMetadataReaderClass to read metadata mapping information from multiple sources into an array of ClassMetadataInfo instances.
ConvertDoctrine1SchemaClass to help with converting Doctrine 1 schema files to Doctrine 2 mapping files
EntityGeneratorGeneric 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');
SchemaToolThe SchemaTool is a tool to create/drop/update database schemas based on ClassMetadata class descriptors.
ToolEvents
ToolsExceptionBase exception class for all ORM exceptions.

Doctrine