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

Update service_decoration.rst#10654

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

Closed
nclavaud wants to merge2 commits intosymfony:2.8fromnclavaud:patch-2
Closed

Conversation

@nclavaud
Copy link
Contributor

Make it clear that the first paragraph isnot about decorating a service, but completely overriding it. Decorating is explained in the next paragraph, so the reference to the decorator pattern has been moved there. Otherwise it's easy to get confused when reading the doc.

The original text was clear, but then the meaning changed when the file was moved, in commit141e922#diff-ebbbc2e2adacde7254ce22cf2a32198c

Make it clear that the first paragraph is *not* about decorating a service, but completely overriding it. Decorating is explained in the next paragraph, so the reference to the decorator pattern has been moved there. Otherwise it's easy to get confused when reading the doc.The original text was clear, but the meaning changed when the file was moved, in commitsymfony@141e922#diff-ebbbc2e2adacde7254ce22cf2a32198c
@xabbuh
Copy link
Member

Thank you@nclavaud.

xabbuh added a commit that referenced this pull requestNov 11, 2018
This PR was squashed before being merged into the 2.8 branch (closes#10654).Discussion----------Update service_decoration.rstMake it clear that the first paragraph is *not* about decorating a service, but completely overriding it. Decorating is explained in the next paragraph, so the reference to the decorator pattern has been moved there. Otherwise it's easy to get confused when reading the doc.The original text was clear, but then the meaning changed when the file was moved, in commit141e922#diff-ebbbc2e2adacde7254ce22cf2a32198c<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/roadmap for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `master` for features of unreleased versions).-->Commits-------0386306 Update service_decoration.rst
@xabbuhxabbuh closed thisNov 11, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

+1 more reviewer

@kunicmarko20kunicmarko20kunicmarko20 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@nclavaud@xabbuh@nicolas-grekas@kunicmarko20@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp