src/ORM/Mappings/MetadataFactory.php
public function loadClassMetadata(string $className)
    {
        $metadata = new ClassMetadata();
        $reflection = new \ReflectionClass($className);

        $this->processClassAnnotations($reflection, $metadata);
        $this->processPropertyAnnotations($reflection, $metadata);

        return $metadata;
    }
public function loadClassMetadata(string $className)
    {
        $metadata = new ClassMetadata();
        $reflection = new \ReflectionClass($className);

        $this->processClassAnnotations($reflection, $metadata);
        $this->processPropertyAnnotations($reflection, $metadata);

        return $metadata;
    }
Loads the ClassMetadata for the given class

@param string $className

@return ClassMetadata