class ParameterReflection extends ReflectionParameter (View source)

Extended version of the ReflectionParameter

Properties

protected string $parameterClassName

Methods

getDeclaringClass()

Returns the declaring class

ClassReflection|null
getClass()

Returns the parameter class

string|null
getBuiltinType()

No description

Details

ClassReflection getDeclaringClass()

Returns the declaring class

Return Value

ClassReflection

The declaring class

ClassReflection|null getClass()

Returns the parameter class

Return Value

ClassReflection|null

The parameter class

string|null getBuiltinType()

No description

Return Value

string|null

The name of a builtin type (e.g. string, int) if it was declared for the parameter (scalar type declaration), null otherwise