Skip to content

Commit 67e208d

Browse files
thePanzondrejmirtes
authored andcommitted
Add documentation to load DI helper
1 parent a0e0f1f commit 67e208d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ parameters:
6969
# If you're using PHP config files for Symfony 5.3+, you also need this for auto-loading of `Symfony\Config`:
7070
scanDirectories:
7171
- var/cache/dev/Symfony/Config
72+
# If you're using PHP config files (including the ones under packages/*.php) for Symfony 5.3+,
73+
# you need this to load the helper functions (i.e. service(), env()):
74+
scanFiles:
75+
- vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php
7276
```
7377
7478
## Constant hassers

0 commit comments

Comments
 (0)