Collection
- Full name:
\Qubus\Config\Collection
- Parent class:
\Qubus\Config\Configuration
- This class implements:
\ArrayAccess
,\Qubus\Config\ConfigContainer
Properties
container
Methods
factory
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$config | array|\Qubus\Config\Configuration |
setConfigKey
Set a config
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string | |
$value | mixed |
hasConfigKey
Checks if a key exists.
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string |
removeConfigKey
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string |
getConfigKey
Get a config
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string | |
$default | mixed|null |
Throws:
reset
__get
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string |
Throws:
__call
Parameters:
Parameter | Type | Description |
---|---|---|
$key | mixed | |
$args | array|null |
Throws:
__isset
Parameters:
Parameter | Type | Description |
---|---|---|
$key | mixed |
Throws:
offsetExists
Parameters:
Parameter | Type | Description |
---|---|---|
$offset | mixed |
Throws:
offsetGet
Parameters:
Parameter | Type | Description |
---|---|---|
$offset | mixed |
Throws:
offsetSet
Parameters:
Parameter | Type | Description |
---|---|---|
$offset | mixed | |
$value | mixed |
offsetUnset
Parameters:
Parameter | Type | Description |
---|---|---|
$offset | mixed |
Inherited methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$config | array|\Qubus\Config\Configuration |
Throws:
getPaths
setPaths
Parameters:
Parameter | Type | Description |
---|---|---|
$pathCollection | \Qubus\Config\Path\PathCollection |
setEnvironment
Parameters:
Parameter | Type | Description |
---|---|---|
$environment | ?string |
removeEnvironment
getEnvironment
getDotenv
setDotenv
Parameters:
Parameter | Type | Description |
---|---|---|
$dotenv | \Dotenv\Dotenv |
Automatically generated on 2025-10-13