trait ConfigurationParametersTrait (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

getFromParts(array $parts)

No description

setFromParts(array $parts, $value)

No description

deleteFromParts(array $parts)

No description

static 
splitParts($parameter)

No description

Details

mixed|null get(string $parameter = null)

Get parameter (property) from stack

This method supports nesting of properties using dot notation

Parameters

string $parameter

Return Value

mixed|null

ConfigurationParametersTrait set($parameter, $value)

Set a parameter (property)

This method supports nesting of properties using dot notation

Parameters

$parameter
$value

Return Value

ConfigurationParametersTrait

bool has(string $parameter)

Check if parameter (property) is defined in current stack

This method supports nesting of properties using dot notation

Parameters

string $parameter

Return Value

bool

bool delete(string $parameter = null)

Remove (delete) parameter (property) from stack

This method supports nesting of properties using dot notation

Parameters

string $parameter

Return Value

bool

protected getFromParts(array $parts)

Parameters

array $parts

protected setFromParts(array $parts, $value)

Parameters

array $parts
$value

protected deleteFromParts(array $parts)

Parameters

array $parts

static protected splitParts($parameter)

Parameters

$parameter