mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
[FrameworkBundle] Document the resolve-env-vars option of lint:container command
This commit is contained in:
@@ -1069,6 +1069,14 @@ application to production (e.g. in your continuous integration server):
|
||||
|
||||
$ php bin/console lint:container
|
||||
|
||||
# optionally, you can force the resolution of environment variables;
|
||||
# the command will fail if any of those environment variables are missing
|
||||
$ php bin/console lint:container --resolve-env-vars
|
||||
|
||||
.. versionadded:: 7.2
|
||||
|
||||
The ``--resolve-env-vars`` option was introduced in Symfony 7.2.
|
||||
|
||||
Performing those checks whenever the container is compiled can hurt performance.
|
||||
That's why they are implemented in :doc:`compiler passes </service_container/compiler_passes>`
|
||||
called ``CheckTypeDeclarationsPass`` and ``CheckAliasValidityPass``, which are
|
||||
|
||||
Reference in New Issue
Block a user