Skip to content

Conversation

jvasseur
Copy link
Contributor

@jvasseur jvasseur commented Feb 16, 2022

@carsonbot carsonbot added this to the 6.1 milestone Feb 16, 2022
nicolas-grekas added a commit to symfony/symfony that referenced this pull request Feb 18, 2022
…sion language (jvasseur)

This PR was merged into the 6.1 branch.

Discussion
----------

[DependencyInjection] Add an env function to DI expression language

| Q             | A
| ------------- | ---
| Branch?       | 6.1
| Bug fix?      | yes
| New feature?  | yes
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        | symfony/symfony-docs#16518

This add an `env` function to the DI expression language provider to ease creating expressions that depends on an environment variable.

Commits
-------

9a20024 Add an env function to DI expression language
@carsonbot carsonbot changed the title Add documentation for the env DI expression function [DependencyInjection] Add documentation for the env DI expression function Mar 11, 2022
@javiereguiluz javiereguiluz merged commit 6c02ec0 into symfony:6.1 Mar 11, 2022
@javiereguiluz
Copy link
Member

Thanks Jérôme!

Please note that while merging we added the versionadded directive needed for new features: 4083d2c

@jvasseur jvasseur deleted the expr-env branch April 13, 2022 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants