Interface ConfigReaderInterface
An interface for creating objects compatible with Configure::load()
Package: Cake\Core
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Configure/ConfigReaderInterface.php
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Configure/ConfigReaderInterface.php
Method Summary
-
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
read() public ΒΆ
read( string $key )
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
Returns
array
An array of data to merge into the runtime configuration
An array of data to merge into the runtime configuration