Documentation

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

Properties

$_exporterDrivers  : array<string, string>

Methods

__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

registerExportDriver()

Registers a new exporter driver class under a specified name.

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

        
On this page

Search results