class PHPDriver extends PHPDriver (View source)

The PHPDriver invokes a static PHP function on the document class itself passing a ClassMetadata instance for you to manually populate with mapping information.