PHP Class PHPStan\Reflection\Php\PhpMethodReflection

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

Public Methods

Method Description
__construct ( ClassReflection $declaringClass, ReflectionMethod $reflection, PHPStan\Parser\Parser $parser, FunctionCallStatementFinder $functionCallStatementFinder, Cache $cache, array $phpDocParameterTypes, PHPStan\Type\Type $phpDocReturnType = null )
getDeclaringClass ( ) : ClassReflection
getName ( ) : string
getParameters ( ) : array
getReturnType ( ) : PHPStan\Type\Type
isPrivate ( ) : boolean
isPublic ( ) : boolean
isStatic ( ) : boolean
isVariadic ( ) : boolean

Private Methods

Method Description
callsFuncGetArgs ( mixed $nodes ) : boolean

Method Details

__construct() public method

public __construct ( ClassReflection $declaringClass, ReflectionMethod $reflection, PHPStan\Parser\Parser $parser, FunctionCallStatementFinder $functionCallStatementFinder, Cache $cache, array $phpDocParameterTypes, PHPStan\Type\Type $phpDocReturnType = null )
$declaringClass PHPStan\Reflection\ClassReflection
$reflection ReflectionMethod
$parser PHPStan\Parser\Parser
$functionCallStatementFinder PHPStan\Parser\FunctionCallStatementFinder
$cache Nette\Caching\Cache
$phpDocParameterTypes array
$phpDocReturnType PHPStan\Type\Type

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