Since it's not recommended to use getenv()
and symfony/dotenv, vlucas/phpdotenv have disabled it by default, how is it possible to configure DI\Definition\Resolve\EnvironmentVariableResolver to use custom $variableReader constructor parameter?
Asked
Active
Viewed 330 times
1

yanot
- 345
- 4
- 17
-
This is super annoying. I created https://github.com/PHP-DI/PHP-DI/issues/754 in the meantime – Angel S. Moreno Dec 16 '20 at 21:55
1 Answers
1
Problem seems to fixed with the recent merge: https://github.com/PHP-DI/PHP-DI/pull/757
This was the work applied https://github.com/PHP-DI/PHP-DI/pull/757/files

Angel S. Moreno
- 3,469
- 3
- 29
- 40