Loader
class Loader
Configuration file loader.
Constants
private INCLUDES_KEY |
|
Methods
array
load(string $file, bool|null $merge = true)
Reads configuration from file.
void
save(array $data, string $file)
Save configuration to file.
array
getDependencies()
Returns configuration files.
string
expandIncludedFile(string $includedFile, string $mainFile)
Expands included file name.
setParameters(array $params)
No description
Details
at line 40
array
load(string $file, bool|null $merge = true)
Reads configuration from file.
at line 77
void
save(array $data, string $file)
Save configuration to file.
at line 88
array
getDependencies()
Returns configuration files.
at line 97
string
expandIncludedFile(string $includedFile, string $mainFile)
Expands included file name.
at line 110
Loader
addAdapter(string $extension, string|Adapter $adapter)
Registers adapter for given file extension.
at line 130
Loader
setParameters(array $params)
No description
Traits
Strict class for better experience.