mediatekformation

ClassMetadataExporter
in package

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

Tags
deprecated
2.7

This class is being removed from the ORM and won't have any replacement

link
www.doctrine-project.org

Table of Contents

$_exporterDrivers  : array<string, string>
__construct()  : mixed
getExporter()  : AbstractExporter
Gets an exporter driver instance.
registerExportDriver()  : void
Registers a new exporter driver class under a specified name.

Properties

$_exporterDrivers

private static array<string, string> $_exporterDrivers = ['xml' => \Doctrine\ORM\Tools\Export\Driver\XmlExporter::class, 'yaml' => \Doctrine\ORM\Tools\Export\Driver\YamlExporter::class, 'yml' => \Doctrine\ORM\Tools\Export\Driver\YamlExporter::class, 'php' => \Doctrine\ORM\Tools\Export\Driver\PhpExporter::class, 'annotation' => \Doctrine\ORM\Tools\Export\Driver\AnnotationExporter::class]

Methods

getExporter()

Gets an exporter driver instance.

public getExporter(string $type[, string|null $dest = null ]) : AbstractExporter
Parameters
$type : string

The type to get (yml, xml, etc.).

$dest : string|null = null

The directory where the exporter will export to.

Tags
throws
ExportException
Return values
AbstractExporter

registerExportDriver()

Registers a new exporter driver class under a specified name.

public static registerExportDriver(string $name, string $class) : void
Parameters
$name : string
$class : string
Return values
void

Search results