Skip to content

[DependencyInjection] Add documentation for the env DI expression function #16518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2022

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