PHP Class PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection

Inheritance: implements PHPStan\Reflection\MethodReflection
Afficher le fichier Open project: phpstan/phpstan

Méthodes publiques

Méthode Description
__construct ( ClassReflection $declaringClass, ClassMethod $classMethod, array $realParameterTypes, array $phpDocParameterTypes, boolean $realReturnTypePresent, PHPStan\Type\Type $realReturnType, PHPStan\Type\Type $phpDocReturnType = null, boolean $isVariadic )
getDeclaringClass ( ) : ClassReflection
getName ( ) : string
getParameters ( ) : array
getReturnType ( ) : PHPStan\Type\Type
isPrivate ( ) : boolean
isPublic ( ) : boolean
isStatic ( ) : boolean
isVariadic ( ) : boolean

Method Details

__construct() public méthode

public __construct ( ClassReflection $declaringClass, ClassMethod $classMethod, array $realParameterTypes, array $phpDocParameterTypes, boolean $realReturnTypePresent, PHPStan\Type\Type $realReturnType, PHPStan\Type\Type $phpDocReturnType = null, boolean $isVariadic )
$declaringClass PHPStan\Reflection\ClassReflection
$classMethod PhpParser\Node\Stmt\ClassMethod
$realParameterTypes array
$phpDocParameterTypes array
$realReturnTypePresent boolean
$realReturnType PHPStan\Type\Type
$phpDocReturnType PHPStan\Type\Type
$isVariadic boolean

getDeclaringClass() public méthode

public getDeclaringClass ( ) : ClassReflection
Résultat PHPStan\Reflection\ClassReflection

getName() public méthode

public getName ( ) : string
Résultat string

getParameters() public méthode

public getParameters ( ) : array
Résultat array

getReturnType() public méthode

public getReturnType ( ) : PHPStan\Type\Type
Résultat PHPStan\Type\Type

isPrivate() public méthode

public isPrivate ( ) : boolean
Résultat boolean

isPublic() public méthode

public isPublic ( ) : boolean
Résultat boolean

isStatic() public méthode

public isStatic ( ) : boolean
Résultat boolean

isVariadic() public méthode

public isVariadic ( ) : boolean
Résultat boolean