Class Loader
Configuration file loader.
-
Nette\Object
-
Nette\Config\Loader
Methods summary
public
array
|
#
load( string $file, string $section = NULL )
Reads configuration from file.
Reads configuration from file.
Parameters
- $file
string file name
- $section
string optional section to load
Returns
array
|
public
|
#
save( array $data, string $file )
Save configuration to file.
Save configuration to file.
Parameters
- $data
array
- $file
string file
|
public
array
|
#
getDependencies( )
Returns configuration files.
Returns configuration files.
Returns
array
|
public
Nette\Config\Loader
|
#
addAdapter( string $extension, string|Nette\Config\IAdapter $adapter )
Registers adapter for given file extension.
Registers adapter for given file extension.
Parameters
Returns
|