Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Routing] doc for env() function in route condition#16610

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:5.4fromGromNaN:patch-2
Mar 25, 2022

Conversation

GromNaN
Copy link
Member

@GromNaNGromNaN commentedMar 16, 2022
edited
Loading

Fix#13247 forsymfony/symfony#35747

Very useful to match host based on env var.

blog_list:path:/blog# the controller value has the format 'controller_class::method_name'controller:App\Controller\BlogController::listcondition:"context.getHost() == env('APP_MAIN_HOST')"

@javiereguiluz
Copy link
Member

Jérôme, thanks a lot for providing this missing doc!

@GromNaNGromNaN deleted the patch-2 branchMarch 25, 2022 16:06
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@maxheliasmaxheliasmaxhelias approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
5.4
Development

Successfully merging this pull request may close these issues.

[Routing][FrameworkBundle] Allow using env() in route conditions
4 participants
@GromNaN@javiereguiluz@maxhelias@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp