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

Add Service Configurator documentation.#2110

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
weaverryan merged 1 commit intosymfony:2.0fromronnylt:service-configurator-doc
Jan 27, 2013

Conversation

ronnylt
Copy link
Contributor

This PR adds documentation for the Service Configurator feature of the Dependency Injection component.

For example, suppose you have an application where you send different types of
emails to users. Emails are passed through different formatters that could be
enabled or not depending on some dynamic application settings. You start
defining a Newsletter Manager class like this::
Copy link
Member

Choose a reason for hiding this comment

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

This should be:

defining a ``NewsletterManager`` class like this::

@ronnylt
Copy link
ContributorAuthor

Fixed CS issues.



As commented before, the formatters should be set at runtime depending on
application settings, so we also have a ``FormatterManager`` class which is
Copy link
Member

Choose a reason for hiding this comment

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

This should be aEmailFormatterManager

@ronnylt
Copy link
ContributorAuthor

@stof Ok, fixed that sentence.

weaverryan added a commit that referenced this pull requestJan 27, 2013
@weaverryanweaverryan merged commit5c3f100 intosymfony:2.0Jan 27, 2013
weaverryan added a commit that referenced this pull requestJan 27, 2013
…so removing parameter use in examples for simplicity
@weaverryan
Copy link
Member

Awesome job Ronny! This is such a cool feature and you did a wonderful job covering it - thanks for the great contribution! I made minor tweaks to the document - if you see anything you don't like, please let me know!

Thanks!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@ronnylt@weaverryan@stof@wouterj

[8]ページ先頭

©2009-2025 Movatter.jp