Interface ConfigInterface
Describes a configuration container / registry.
-
Charcoal\Config\ConfigInterface
implements
Charcoal\Config\DelegatesAwareInterface,
Charcoal\Config\EntityInterface,
Charcoal\Config\FileAwareInterface,
Charcoal\Config\SeparatorAwareInterface
Methods summary
public
array
|
#
defaults( )
Gets the default data.
Pre-populates new configsets.
Returns
array Key-value array of data
|
public
Charcoal\Config\ConfigInterface
|
#
merge( array|Traversable $data )
Adds new data, replacing / merging existing data with the same key.
Adds new data, replacing / merging existing data with the same key.
Parameters
- $data
- Key-value array of data to merge.
Returns
|
public
Charcoal\Config\ConfigInterface
|
#
addFile( string $path )
Add a configuration file to the configset.
Add a configuration file to the configset.
Parameters
- $path
- The file to load and add.
Returns
|
Methods inherited from Serializable
serialize(),
unserialize()
|
Methods inherited from JsonSerializable
jsonSerialize()
|
Methods inherited from ArrayAccess
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset()
|