PHP 클래스 PHPStan\Reflection\Php\PhpClassReflectionExtension

상속: implements PHPStan\Reflection\PropertiesClassReflectionExtension, implements PHPStan\Reflection\MethodsClassReflectionExtension, implements PHPStan\Reflection\BrokerAwareClassReflectionExtension
파일 보기 프로젝트 열기: phpstan/phpstan 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( PHPStan\Reflection\Php\PhpMethodReflectionFactory $methodReflectionFactory, FileTypeMapper $fileTypeMapper )
getMethod ( ClassReflection $classReflection, string $methodName ) : PHPStan\Reflection\MethodReflection
getProperty ( ClassReflection $classReflection, string $propertyName ) : PHPStan\Reflection\PropertyReflection
hasMethod ( ClassReflection $classReflection, string $methodName ) : boolean
hasProperty ( ClassReflection $classReflection, string $propertyName ) : boolean
setBroker ( Broker $broker )

비공개 메소드들

메소드 설명
createMethods ( ClassReflection $classReflection ) : array
createProperties ( ClassReflection $classReflection ) : array
getMethodParameterAnnotationTypeString ( array $phpDocParams, ReflectionParameter $parameterReflection ) : string | null
getPhpDocParamsFromMethod ( ReflectionMethod $reflectionMethod ) : array
getPropertyAnnotationTypeString ( ReflectionProperty $propertyReflection ) : string | null
getReturnTypeStringFromMethod ( ReflectionMethod $reflectionMethod ) : string | null

메소드 상세

__construct() 공개 메소드

public __construct ( PHPStan\Reflection\Php\PhpMethodReflectionFactory $methodReflectionFactory, FileTypeMapper $fileTypeMapper )
$methodReflectionFactory PHPStan\Reflection\Php\PhpMethodReflectionFactory
$fileTypeMapper PHPStan\Type\FileTypeMapper

getMethod() 공개 메소드

public getMethod ( ClassReflection $classReflection, string $methodName ) : PHPStan\Reflection\MethodReflection
$classReflection PHPStan\Reflection\ClassReflection
$methodName string
리턴 PHPStan\Reflection\MethodReflection

getProperty() 공개 메소드

public getProperty ( ClassReflection $classReflection, string $propertyName ) : PHPStan\Reflection\PropertyReflection
$classReflection PHPStan\Reflection\ClassReflection
$propertyName string
리턴 PHPStan\Reflection\PropertyReflection

hasMethod() 공개 메소드

public hasMethod ( ClassReflection $classReflection, string $methodName ) : boolean
$classReflection PHPStan\Reflection\ClassReflection
$methodName string
리턴 boolean

hasProperty() 공개 메소드

public hasProperty ( ClassReflection $classReflection, string $propertyName ) : boolean
$classReflection PHPStan\Reflection\ClassReflection
$propertyName string
리턴 boolean

setBroker() 공개 메소드

public setBroker ( Broker $broker )
$broker PHPStan\Broker\Broker