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

[FrameworkBundle] make debug:autowiring list useful services and their description#28970

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

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.2
Bug fix?yes
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#27207
LicenseMIT
Doc PR-

This PRcloses#27207: we don't need "semantics" anymore. 4.2 has everything already to allow us to separate useful services from the other ones: any autowireablealiasis a useful service!
Add autowiring by type + parameter name (#28234) and the story is done: we can easily hint people about which features their bundles provide, without being polluted by for-wiring-only services.

Here is a screenshot running this command(before I excluded the aliases for $cacheApp and $cacheSystem):
image 3

ping@weaverryan as we drafted that together.
Fixes a few issues found meanwhile.
That should definitely go in 4.2.

javiereguiluz, tgalopin, weaverryan, linaori, stloyd, jeremyFreeAgent, colinodell, ScullWM, onEXHovia, Koc, and 4 more reacted with heart emoji
@nicolas-grekasnicolas-grekasforce-pushed thefwb-debug-autow branch 2 times, most recently frombcd423f to2fb426fCompareOctober 25, 2018 08:09
* @param string $class
*
* @return string
* @internal
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

the whole sub-namespace is internal, can be removed

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

thanks, removed

@nicolas-grekasnicolas-grekas merged commit56aab09 intosymfony:masterOct 29, 2018
nicolas-grekas added a commit that referenced this pull requestOct 29, 2018
…rvices and their description (nicolas-grekas)This PR was merged into the 4.2-dev branch.Discussion----------[FrameworkBundle] make debug:autowiring list useful services and their description| Q             | A| ------------- | ---| Branch?       | 4.2| Bug fix?      | yes| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#27207| License       | MIT| Doc PR        | -This PRcloses#27207: we don't need "semantics" anymore. 4.2 has everything already to allow us to separate useful services from the other ones: any autowireable *alias* **is** a useful service!Add autowiring by type + parameter name (#28234) and the story is done: we can easily hint people about which features their bundles provide, without being polluted by for-wiring-only services.Here is a screenshot running this command(before I excluded the aliases for $cacheApp and $cacheSystem):![image 3](https://user-images.githubusercontent.com/243674/47437006-f41f4380-d7a7-11e8-9f76-7f23e9193ce8.png)ping@weaverryan as we drafted that together.Fixes a few issues found meanwhile.That should definitely go in 4.2.Commits-------56aab09 [FrameworkBundle] make debug:autowiring list useful services and their description
@nicolas-grekasnicolas-grekas deleted the fwb-debug-autow branchOctober 29, 2018 11:48
This was referencedNov 3, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@chalasrchalasrchalasr approved these changes

@weaverryanweaverryanweaverryan approved these changes

+1 more reviewer

@ro0NLro0NLro0NL left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

[RFC] Introduce "semantics": a way to make service ids meaningful by binding them to types+descriptions

5 participants

@nicolas-grekas@weaverryan@ro0NL@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp