class ReflectionParameterValue extends ReflectionParameter implements Reflector, ReflectionValueInterface

An extension of the internal \ReflectionParameter with a value

Methods

__construct( string $function, string $parameter, mixed $value)

No description

mixed
getValue()

Returns the value of the parameter

string
getValueType()

Returns the type of the parameter

string
__toString()

Representation of the object

Details

at line 44
__construct( string $function, string $parameter, mixed $value)

Parameters

string $function this is the first argument of the original \ReflectionParameter::__construct()
string $parameter this is the second argument of the original \ReflectionParameter::__construct()
mixed $value the user value of the parameter

Exceptions

Exception caught from parent constructor

at line 60
mixed getValue()

Returns the value of the parameter

Return Value

mixed

at line 70
string getValueType()

Returns the type of the parameter

Return Value

string

at line 83
string __toString()

Representation of the object

If an exception is caught, its message is returned instead of the original result (but it is not thrown ahead).

Return Value

string