class ClassMetadataGenerator (View source)

This factory is used to generate metadata classes.

Properties

protected MappingDriver $mappingDriver

Methods

__construct(MappingDriver $mappingDriver, ClassMetadataExporter|null $metadataExporter = null)

No description

generate(ClassMetadataDefinition $definition)

Generates class metadata code.

Details

__construct(MappingDriver $mappingDriver, ClassMetadataExporter|null $metadataExporter = null)

Parameters

MappingDriver $mappingDriver
ClassMetadataExporter|null $metadataExporter

generate(ClassMetadataDefinition $definition)

Generates class metadata code.

Parameters

ClassMetadataDefinition $definition