class DynamicParameter

Methods

__construct(string $definition)

Create a new dynamic parameter.

null
getType()

Return the parameter type.

string
getName()

Return the parameter name.

bool
isOptional()

Determine whether the parameter is optional.

bool
isVariadic()

Determine whether the parameter is variadic.

bool
isDefaultValueAvailable()

Determine whether a default value is available.

null
getDefaultValue()

Return the default value.

Details

at line 1910
__construct(string $definition)

Create a new dynamic parameter.

Parameters

string $definition

at line 1917
null getType()

Return the parameter type.

Return Value

null

at line 1925
string getName()

Return the parameter name.

Return Value

string

at line 1936
bool isOptional()

Determine whether the parameter is optional.

Return Value

bool

at line 1944
bool isVariadic()

Determine whether the parameter is variadic.

Return Value

bool

at line 1952
bool isDefaultValueAvailable()

Determine whether a default value is available.

Return Value

bool

at line 1960
null getDefaultValue()

Return the default value.

Return Value

null