Skip to content

Commit

Permalink
minor #6344 Altered single / multiple inheritance sentence (outspaced)
Browse files Browse the repository at this point in the history
This PR was submitted for the 3.0 branch but it was merged into the 2.3 branch instead (closes #6344).

Discussion
----------

Altered single / multiple inheritance sentence

The way the sentence was didn't really make sense, and was difficult to process

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

Commits
-------

a34fb2e Altered single / multiple inheritance sentence
  • Loading branch information
xabbuh committed Mar 10, 2016
2 parents c63c826 + a34fb2e commit e81ea50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/event_dispatcher/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ answer.
Consider the real-world example where you want to provide a plugin system
for your project. A plugin should be able to add methods, or do something
before or after a method is executed, without interfering with other plugins.
This is not an easy problem to solve with single and multiple inheritance
(were it possible with PHP) has its own drawbacks.
This is not an easy problem to solve with single inheritance, and even if
multiple inheritance was possible with PHP, it comes with its own drawbacks.

The Symfony EventDispatcher component implements the `Mediator`_ pattern
in a simple and effective way to make all these things possible and to make
Expand Down

0 comments on commit e81ea50

Please sign in to comment.