Interface ConfigEngineInterface
An interface for creating objects compatible with Configure::load()
Namespace: Cake\Core\Configure
Method Summary
-
dump() public
Dumps the configure data into source.
-
read() public
Read method is used for reading configuration information from sources. These sources can either be static resources like files, or dynamic ones like a database, or other datasource.
Method Detail
dump() ¶ public
dump(string $key, array $data): bool
Dumps the configure data into source.
Parameters
-
string
$key The identifier to write to.
-
array
$data The data to dump.
Returns
bool
read() ¶ public
read(string $key): array
Read method is used for reading configuration information from sources. These sources can either be static resources like files, or dynamic ones like a database, or other datasource.
Parameters
-
string
$key Key to read.
Returns
array