Configuration
class Configuration (View source)
Traits
Properties
protected array | $parameters | from ConfigurationParametersTrait |
Methods
Get parameter (property) from stack
Set a parameter (property)
Check if parameter (property) is defined in current stack
Remove (delete) parameter (property) from stack
Create a configuration object from array of values
Merge a bundle of properties into actual configuration model
No description
Details
mixed|null
get(string $parameter = null)
Get parameter (property) from stack
This method supports nesting of properties using dot notation
ConfigurationParametersTrait
set($parameter, $value)
Set a parameter (property)
This method supports nesting of properties using dot notation
bool
has(string $parameter)
Check if parameter (property) is defined in current stack
This method supports nesting of properties using dot notation
bool
delete(string $parameter = null)
Remove (delete) parameter (property) from stack
This method supports nesting of properties using dot notation
protected
getFromParts(array $parts)
protected
setFromParts(array $parts, $value)
protected
deleteFromParts(array $parts)
static protected
splitParts($parameter)
at line 29
Configuration
__construct(array $configuration = [])
Create a configuration object from array of values
at line 44
bool
isDefined(string $property)
deprecated
deprecated
Check if a property is defined
at line 56
Configuration
merge(array $properties)
Merge a bundle of properties into actual configuration model