PHP 클래스 ApiGen\Generator\Resolvers\ElementResolver

파일 보기 프로젝트 열기: apigen/apigen 1 사용 예제들

공개 메소드들

메소드 설명
__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 )