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

[Config] [Configuration] Add enum case as service parameter example#17910

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

Conversation

@alexandre-daubois
Copy link
Member

Fixes#17407

@carsonbotcarsonbot changed the title[Configuration] Add enum case as service parameter example[Config] [Configuration] Add enum case as service parameter exampleFeb 17, 2023
@javiereguiluzjaviereguiluz added this to the6.2 milestoneFeb 17, 2023
@javiereguiluz
Copy link
Member

Everybody loves enums 😍 so this is nice! Thanks Alex.

alexandre-daubois reacted with heart emoji

@javiereguiluzjaviereguiluz merged commitb686cf5 intosymfony:6.2Feb 17, 2023
javiereguiluz added a commit that referenced this pull requestOct 15, 2024
This PR was merged into the 6.4 branch.Discussion----------[Config] Fix the XML configuration example for enumsThere is no `type="enum"` in the XML file loader.The bad example was introduced in#17910. However, the issue it was fixing was about a change in Symfony for **PHP** config files only. The Yaml and XML file loaders don't have any dedicated syntax for enums (but of course, the Yaml component itself does, which is what is used in the Yaml example)Commits-------2f00687 Fix the XML configuration example for enums
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

[DependencyInjection] Allow enum as service parameter in php config fil…

4 participants

@alexandre-daubois@javiereguiluz@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp