Classes

The AnnotationDriver reads the mapping metadata from docblock annotations.
The DriverChain allows you to add multiple other mapping drivers for certain namespaces
The PHPDriver invokes a static PHP function on the document class itself passing a ClassMetadata instance for you to manually populate with mapping information.
XmlDriver is a metadata driver that enables mapping through XML files.
The YamlDriver reads the mapping metadata from yaml schema files.