PHP 클래스 ApiGen\Parser\Broker\Backend

Adds internal classes from @param, @var, @return, @throws annotations as well as parent classes to the overall class list.
상속: extends TokenReflection\Broker\Backend\Memory
파일 보기 프로젝트 열기: apigen/apigen

공개 메소드들

메소드 설명
__construct ( ApiGen\Contracts\Parser\Reflection\TokenReflection\ReflectionFactoryInterface $reflectionFactory )
getConstants ( )
getFunctions ( )

보호된 메소드들

메소드 설명
parseClassLists ( ) : ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface[]

비공개 메소드들

메소드 설명
addClass ( string $name )
getClassFqn ( string $name, ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface | ApiGen\Contracts\Parser\Reflection\MethodReflectionInterface | ApiGen\Contracts\Parser\Reflection\Behavior\InNamespaceInterface $reflection ) : string
isClassLoaded ( string $name ) : boolean
loadAnnotationFromReflection ( ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface | ApiGen\Contracts\Parser\Reflection\MethodReflectionInterface $reflection, array $annotations, string $name )
loadParentClassesAndInterfacesFromClassReflection ( TokenReflection\ReflectionClass | TokenReflection\Invalid\ReflectionClass $reflection )
processFunction ( ReflectionMethod | ApiGen\Parser\Reflection\ReflectionFunction $reflection ) Processes a function/method and adds classes from annotations to the overall class array.

메소드 상세

__construct() 공개 메소드

public __construct ( ApiGen\Contracts\Parser\Reflection\TokenReflection\ReflectionFactoryInterface $reflectionFactory )
$reflectionFactory ApiGen\Contracts\Parser\Reflection\TokenReflection\ReflectionFactoryInterface

getConstants() 공개 메소드

public getConstants ( )

getFunctions() 공개 메소드

public getFunctions ( )

parseClassLists() 보호된 메소드

protected parseClassLists ( ) : ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface[]
리턴 ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface[]