Skip to content

Commit

Permalink
Add documentation to load DI helper
Browse files Browse the repository at this point in the history
  • Loading branch information
thePanz authored and ondrejmirtes committed Feb 23, 2024
1 parent a0e0f1f commit 67e208d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ parameters:
# If you're using PHP config files for Symfony 5.3+, you also need this for auto-loading of `Symfony\Config`:
scanDirectories:
- var/cache/dev/Symfony/Config
# If you're using PHP config files (including the ones under packages/*.php) for Symfony 5.3+,
# you need this to load the helper functions (i.e. service(), env()):
scanFiles:
- vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php
```

## Constant hassers
Expand Down

0 comments on commit 67e208d

Please sign in to comment.