Doctrine\ORM\Tools\Export\Driver\YamlExporter
ClassMetadata exporter for Doctrine YAML mapping files
- Author: Jonathan Wage <jonwage@gmail.com>
Synopsis
class YamlExporter
extends AbstractExporter
{
- // members
- protected string $_extension;
- // Inherited members from AbstractExporter
- protected array $_metadata;
- protected $_outputDir;
- protected $_extension;
- protected $_overwriteExistingFiles;
- // methods
- public mixed exportClassMetadata()
- // Inherited methods from AbstractExporter
- public void __construct()
- public void setOverwriteExistingFiles()
- public abstract mixed exportClassMetadata()
- public void setMetadata()
- public string getExtension()
- public void setOutputDir()
- public void export()
- protected string _generateOutputPath()
- public void setExtension()
- protected void _getInheritanceTypeString()
- protected void _getChangeTrackingPolicyString()
- protected void _getIdGeneratorTypeString()
Hierarchy
Members
protected
- $_extension
- $_extension
- $_metadata
- $_outputDir
- $_overwriteExistingFiles
Methods
public
- exportClassMetadata() — Converts a single ClassMetadata instance to the exported format and returns it
Inherited from Doctrine\ORM\Tools\Export\Driver\AbstractExporter
protected
- _generateOutputPath() — Generate the path to write the class for the given ClassMetadataInfo instance
- _getChangeTrackingPolicyString()
- _getIdGeneratorTypeString()
- _getInheritanceTypeString()
public
- export() — Export each ClassMetadata instance to a single Doctrine Mapping file named after the entity
- exportClassMetadata() — Converts a single ClassMetadata instance to the exported format and returns it
- getExtension() — Get the extension used to generated the path to a class
- setExtension() — Set the directory to output the mapping files to
- setMetadata() — Set the array of ClassMetadataInfo instances to export
- setOutputDir() — Set the directory to output the mapping files to
- setOverwriteExistingFiles()