class ClassMetadataExporter (View source)

Class used for converting your mapping information between the supported formats: yaml, xml, and php/annotation.

Methods

static void
registerExportDriver(string $name, string $class)

Registers a new exporter driver class under a specified name.

getExporter(string $type, string|null $dest = null)

Gets an exporter driver instance.

Details

static void registerExportDriver(string $name, string $class)

Registers a new exporter driver class under a specified name.

Parameters

string $name
string $class

Return Value

void

AbstractExporter getExporter(string $type, string|null $dest = null)

Gets an exporter driver instance.

Parameters

string $type The type to get (yml, xml, etc.).
string|null $dest The directory where the exporter will export to.

Return Value

AbstractExporter

Exceptions

ExportException