PHP 클래스 PHPStan\Broker\Broker

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

공개 메소드들

메소드 설명
__construct ( array $propertiesClassReflectionExtensions, array $methodsClassReflectionExtensions, array $dynamicMethodReturnTypeExtensions, PHPStan\Reflection\FunctionReflectionFactory $functionReflectionFactory )
getClass ( string $className ) : ClassReflection
getClassFromReflection ( ReflectionClass $reflectionClass ) : ClassReflection
getDynamicMethodReturnTypeExtensionsForClass ( string $className ) : array
getFunction ( Name $nameNode, Scope $scope = null ) : FunctionReflection
hasClass ( string $className ) : boolean
hasFunction ( Name $nameNode, Scope $scope ) : boolean
resolveFunctionName ( Name $nameNode, Scope $scope = null ) : string | null

메소드 상세

__construct() 공개 메소드

public __construct ( array $propertiesClassReflectionExtensions, array $methodsClassReflectionExtensions, array $dynamicMethodReturnTypeExtensions, PHPStan\Reflection\FunctionReflectionFactory $functionReflectionFactory )
$propertiesClassReflectionExtensions array
$methodsClassReflectionExtensions array
$dynamicMethodReturnTypeExtensions array
$functionReflectionFactory PHPStan\Reflection\FunctionReflectionFactory

getClass() 공개 메소드

public getClass ( string $className ) : ClassReflection
$className string
리턴 PHPStan\Reflection\ClassReflection

getClassFromReflection() 공개 메소드

public getClassFromReflection ( ReflectionClass $reflectionClass ) : ClassReflection
$reflectionClass ReflectionClass
리턴 PHPStan\Reflection\ClassReflection

getDynamicMethodReturnTypeExtensionsForClass() 공개 메소드

public getDynamicMethodReturnTypeExtensionsForClass ( string $className ) : array
$className string
리턴 array

getFunction() 공개 메소드

public getFunction ( Name $nameNode, Scope $scope = null ) : FunctionReflection
$nameNode PhpParser\Node\Name
$scope PHPStan\Analyser\Scope
리턴 PHPStan\Reflection\FunctionReflection

hasClass() 공개 메소드

public hasClass ( string $className ) : boolean
$className string
리턴 boolean

hasFunction() 공개 메소드

public hasFunction ( Name $nameNode, Scope $scope ) : boolean
$nameNode PhpParser\Node\Name
$scope PHPStan\Analyser\Scope
리턴 boolean

resolveFunctionName() 공개 메소드

public resolveFunctionName ( Name $nameNode, Scope $scope = null ) : string | null
$nameNode PhpParser\Node\Name
$scope PHPStan\Analyser\Scope
리턴 string | null