lib/Doctrine/ORM/Mapping/Factory/AbstractClassMetadataFactory.php
private function getOrCreateClassMetadataDefinition(string $className, ?ClassMetadata $parent) : ClassMetadataDefinition
    {
        if (! isset($this->definitions[$className])) {
            $this->definitions[$className] = $this->definitionFactory->build($className, $parent);
        }

        return $this->definitions[$className];
    }
private function getOrCreateClassMetadataDefinition(string $className, ?ClassMetadata $parent) : ClassMetadataDefinition
    {
        if (! isset($this->definitions[$className])) {
            $this->definitions[$className] = $this->definitionFactory->build($className, $parent);
        }

        return $this->definitions[$className];
    }
private function getOrCreateClassMetadataDefinition ( string $ className , ? ClassMetadata $ parent ) : ClassMetadataDefinition { if ( ! isset ( $ this -> definitions [ $ className ] ) ) { $ this -> definitions [ $ className ] = $ this -> definitionFactory -> build ( $ className , $ parent ) ; } return $ this -> definitions [ $ className ] ; }
Create a class metadata definition for the given class name.
Create a class metadata definition for the given class name .