Loader
class Loader
Configuration file loader.
Constants
private INCLUDES_KEY |
|
Methods
array
load(string $file, bool|null $merge = true)
Reads configuration from file.
void
array
getDependencies()
Returns configuration files.
string
expandIncludedFile(string $includedFile, string $mainFile)
Expands included file name.
addAdapter(string $extension, Adapter $adapter)
Registers adapter for given file extension.
setParameters(array $params)
No description
Details
at line 37
array
load(string $file, bool|null $merge = true)
Reads configuration from file.
at line 75
void
save(array $data, string $file)
deprecated
deprecated
No description
at line 87
array
getDependencies()
Returns configuration files.
at line 96
string
expandIncludedFile(string $includedFile, string $mainFile)
Expands included file name.
at line 107
Loader
addAdapter(string $extension, Adapter $adapter)
Registers adapter for given file extension.
at line 127
Loader
setParameters(array $params)
No description
Traits
Strict class for better experience.