PHP Class PHPStan\Reflection\FunctionReflection

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

Public Methods

Method Description
__construct ( ReflectionFunction $reflection, PHPStan\Parser\Parser $parser, FunctionCallStatementFinder $functionCallStatementFinder, Cache $cache )
getName ( ) : string
getNativeReflection ( ) : ReflectionFunction
getParameters ( ) : array
getReturnType ( ) : PHPStan\Type\Type
isVariadic ( ) : boolean

Private Methods

Method Description
callsFuncGetArgs ( mixed $nodes ) : boolean

Method Details

__construct() public method

public __construct ( ReflectionFunction $reflection, PHPStan\Parser\Parser $parser, FunctionCallStatementFinder $functionCallStatementFinder, Cache $cache )
$reflection ReflectionFunction
$parser PHPStan\Parser\Parser
$functionCallStatementFinder PHPStan\Parser\FunctionCallStatementFinder
$cache Nette\Caching\Cache

getName() public method

public getName ( ) : string
return string

getNativeReflection() public method

public getNativeReflection ( ) : ReflectionFunction
return ReflectionFunction

getParameters() public method

public getParameters ( ) : array
return array

getReturnType() public method

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

isVariadic() public method

public isVariadic ( ) : boolean
return boolean