PHP Класс ApiGen\Generator\Resolvers\ElementResolver

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( ApiGen\Contracts\Parser\ParserStorageInterface $parserStorage )
getClass ( $name, $namespace = '' )
getConstant ( $name, $namespace = '' )
getFunction ( $name, $namespace = '' )
resolveElement ( $definition, $reflectionElement, &$expectedName = null )

Приватные методы

Метод Описание
correctContextForParameterOrClassMember ( ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface | ApiGen\Contracts\Parser\Reflection\ParameterReflectionInterface | ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface $reflectionElement ) : ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface | ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface
findElementByNameAndNamespace ( array | ArrayObjec\ArrayObject $elements, string $name, string $namespace ) : ApiGen\Reflection\ReflectionClass | null
isContextUsable ( null | ApiGen\Reflection\ReflectionElement $reflectionElement ) : boolean
isSimpleType ( string $definition ) : boolean
removeEndBrackets ( string $definition ) : string
removeStartDollar ( string $definition ) : string
resolveContextForClassProperty ( string $definition, ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface $reflectionClass, integer $pos ) : ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface
resolveContextForSelfProperty ( string $definition, integer $pos, ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $reflectionElement ) : ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface
resolveIfInContext ( $definition, ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface $context ) : ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface | ApiGen\Contracts\Parser\Reflection\MethodReflectionInterface | ApiGen\Contracts\Parser\Reflection\PropertyReflectionInterface | null
resolveIfParsed ( string $definition, ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $reflectionElement ) : ApiGen\Contracts\Parser\Reflection\ClassReflectionInterface | ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface | ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface | null

Описание методов

__construct() публичный метод

public __construct ( ApiGen\Contracts\Parser\ParserStorageInterface $parserStorage )
$parserStorage ApiGen\Contracts\Parser\ParserStorageInterface

getClass() публичный метод

public getClass ( $name, $namespace = '' )

getConstant() публичный метод

public getConstant ( $name, $namespace = '' )

getFunction() публичный метод

public getFunction ( $name, $namespace = '' )

resolveElement() публичный метод

public resolveElement ( $definition, $reflectionElement, &$expectedName = null )