class ParameterReflection extends ReflectionParameter (View source)

Extended version of the ReflectionParameter

Properties

protected string $parameterClassName

Methods

getDeclaringClass()

Returns the declaring class

getClass()

Returns the parameter class

string
getBuiltinType()

No description

Details

ClassReflection getDeclaringClass()

Returns the declaring class

Return Value

ClassReflection

The declaring class

ClassReflection getClass()

Returns the parameter class

Return Value

ClassReflection

The parameter class

string getBuiltinType()

No description

Return Value

string

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