trait ParametersTrait (View source)

Properties

protected array $parameters

Methods

mixed|null
get(string $parameter = null)

Get parameter (property) from stack

set($parameter, $value)

Set a parameter (property)

bool
has(string $parameter)

Check if parameter (property) is defined in current stack

bool
delete(string $parameter = null)

Remove (delete) parameter (property) from stack

Details

mixed|null get(string $parameter = null)

Get parameter (property) from stack

Parameters

string $parameter

Return Value

mixed|null

ParametersTrait set($parameter, $value)

Set a parameter (property)

Parameters

$parameter
$value

Return Value

ParametersTrait

bool has(string $parameter)

Check if parameter (property) is defined in current stack

Parameters

string $parameter

Return Value

bool

bool delete(string $parameter = null)

Remove (delete) parameter (property) from stack

Parameters

string $parameter

Return Value

bool