Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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:: |
There was a problem hiding this comment.
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::
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This should be aEmailFormatterManager
@stof Ok, fixed that sentence. |
Add Service Configurator documentation.
…so removing parameter use in examples for simplicity
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! |
This PR adds documentation for the Service Configurator feature of the Dependency Injection component.