An interface for creating objects compatible with Configure::load()
Dumps the configure data into the storage key/file of the given $key
.
Read a configuration file/storage key
dump(string $key, array $data): bool
Dumps the configure data into the storage key/file of the given $key
.
string
$key The identifier to write to.
array
$data The data to dump.
bool
read(string $key): array
Read a configuration file/storage key
This 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.
string
$key Key to read.
array
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/interface-Cake.Core.Configure.ConfigEngineInterface.html