PHP Class ApiGen\Parser\Broker\Backend

Adds internal classes from @param, @var, @return, @throws annotations as well as parent classes to the overall class list.
Inheritance: extends TokenReflection\Broker\Backend\Memory
Datei anzeigen Open project: apigen/apigen

Public Methods

Method Description
__construct ( ApiGen\Contracts\Parser\Reflection\TokenReflection\ReflectionFactoryInterface $reflectionFactory )
getConstants ( )
getFunctions ( )

Protected Methods

Method Description
parseClassLists ( ) : ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface[]

Private Methods

Method Description
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.

Method Details

__construct() public method

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

getConstants() public method

public getConstants ( )

getFunctions() public method

public getFunctions ( )

parseClassLists() protected method

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