rorier / config
Components to manage configuration.
0.2.5
2022-11-16 12:08 UTC
Requires
- php: >= 7.4
Requires (Dev)
- phpunit/phpunit: ^9.5
README
Storage object for complex data.
Howto init Parameters
$data = []
$delayedParameters = new ParametersProxy();
$parametersAnalyzer = new Analyzer([
new ConstantParser(),
new EnvParser(),
new StringParameterParser($delayedParameters),
new ArrayParameterParser($delayedParameters)
]);
$parameters = new Parameters($data, $parametersAnalyzer);
$delayedParameters->setParameters($parameters);