PHP Class PHPStan\Reflection\Php\PhpMethodFromParserNodeReflection

Inheritance: implements PHPStan\Reflection\MethodReflection
Show file Open project: phpstan/phpstan

Public Methods

Method 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 method

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 method

public getDeclaringClass ( ) : ClassReflection
return PHPStan\Reflection\ClassReflection

getName() public method

public getName ( ) : string
return string

getParameters() public method

public getParameters ( ) : array
return array

getReturnType() public method

public getReturnType ( ) : PHPStan\Type\Type
return PHPStan\Type\Type

isPrivate() public method

public isPrivate ( ) : boolean
return boolean

isPublic() public method

public isPublic ( ) : boolean
return boolean

isStatic() public method

public isStatic ( ) : boolean
return boolean

isVariadic() public method

public isVariadic ( ) : boolean
return boolean