Doctrine\Common\Annotations\AnnotationReader::getClassImports PHP Method

getClassImports() private method

Retrieves imports.
private getClassImports ( ReflectionClass $class ) : array
$class ReflectionClass
return array
    private function getClassImports(ReflectionClass $class)
    {
        if (isset($this->imports[$name = $class->getName()])) {
            return $this->imports[$name];
        }
        $this->collectParsingMetadata($class);
        return $this->imports[$name];
    }