Interface PHPStan\Reflection\ParameterReflection

Reflection for a function/method parameter. Represents a single parameter in a function or method signature. Each parameter has a name, type, and metadata about optionality, variadicity, and pass-by-reference. The type returned by getType() is the combined PHPDoc + native type. For separate PHPDoc and native types, see ExtendedParameterReflection. Part of a ParametersAcceptor which describes a complete function signature.

Methods