PHP Class PHPStan\Reflection\Php\PhpParameterReflection

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

Méthodes publiques

Méthode Description
__construct ( ReflectionParameter $reflection, PHPStan\Type\Type $phpDocType = null )
getName ( ) : string
getType ( ) : PHPStan\Type\Type
isOptional ( ) : boolean
isPassedByReference ( ) : boolean

Method Details

__construct() public méthode

public __construct ( ReflectionParameter $reflection, PHPStan\Type\Type $phpDocType = null )
$reflection ReflectionParameter
$phpDocType PHPStan\Type\Type

getName() public méthode

public getName ( ) : string
Résultat string

getType() public méthode

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

isOptional() public méthode

public isOptional ( ) : boolean
Résultat boolean

isPassedByReference() public méthode

public isPassedByReference ( ) : boolean
Résultat boolean