Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Options in DI extensions do not expect Statement instances #228
I'm struggling with a simple case where I'm loading environment variables and some other stuff into parameters and then using them with extensions, namely
I'm getting this kind of errors:
Using scalar values is not an option. I understand I could use "dynamic parameters" like so:
$configurator->addDynamicParameters([ 'system' => ['http' => ['proxy' => TODO ]] ]);
But then how would I call
Furthermore, how would I instead add dynamic parameters in a NEON config file so that I need not have params in 2 places (NEON config file(s) and PHP config file that instructs Configurator)?
I might be missing something. Thanks for help.