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
boolTrue on success or false on failure.
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
arrayAn array of data to merge into the runtime configuration