Skip to content

Commit

Permalink
Fix words according context
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpq authored and xabbuh committed Dec 9, 2015
1 parent abd10ca commit 57425f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dependency_injection/configurators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ to create a configurator class to configure these instances::
// ...
}

The ``EmailConfigurator``'s job is to inject the enabled filters into ``NewsletterManager``
The ``EmailConfigurator``'s job is to inject the enabled formatters into ``NewsletterManager``
and ``GreetingCardManager`` because they are not aware of where the enabled
filters come from. In the other hand, the ``EmailFormatterManager`` holds
formatters come from. On the other hand, the ``EmailFormatterManager`` holds
the knowledge about the enabled formatters and how to load them, keeping
the single responsibility principle.

Expand Down

0 comments on commit 57425f1

Please sign in to comment.