We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d667bc commit c22dc20Copy full SHA for c22dc20
routing.rst
@@ -414,6 +414,11 @@ and can use any of these variables created by Symfony:
414
The :ref:`Symfony Request <component-http-foundation-request>` object that
415
represents the current request.
416
417
+Additionnal functions are provided:
418
+
419
+``env(string $name)``
420
+ Read a variable using :doc:`Environment Variable Processors <configuration/env_var_processors>`
421
422
Behind the scenes, expressions are compiled down to raw PHP. Because of this,
423
using the ``condition`` key causes no extra overhead beyond the time it takes
424
for the underlying PHP to execute.
0 commit comments