lib/Doctrine/ORM/Mapping/Factory/ClassMetadataGenerator.php
public function generate(ClassMetadataDefinition $definition) : string
    {
        $metadata = $this->mappingDriver->loadMetadataForClass(
            $definition->entityClassName,
            $definition->parentClassMetadata
        );

        return $this->metadataExporter->export($metadata);
    }
public function generate(ClassMetadataDefinition $definition) : string
    {
        $metadata = $this->mappingDriver->loadMetadataForClass(
            $definition->entityClassName,
            $definition->parentClassMetadata
        );

        return $this->metadataExporter->export($metadata);
    }
public function generate ( ClassMetadataDefinition $ definition ) : string { $ metadata = $ this -> mappingDriver -> loadMetadataForClass ( $ definition -> entityClassName , $ definition -> parentClassMetadata ) ; return $ this -> metadataExporter -> export ( $ metadata ) ; }
Generates class metadata code.
Generates class metadata code .