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
Показать файл Открыть проект

Открытые методы

Метод Описание
__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[]