Skip to content

Commit e81ea50

Browse files
committed
minor #6344 Altered single / multiple inheritance sentence (outspaced)
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
2 parents c63c826 + a34fb2e commit e81ea50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/event_dispatcher/introduction.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ answer.
2222
Consider the real-world example where you want to provide a plugin system
2323
for your project. A plugin should be able to add methods, or do something
2424
before or after a method is executed, without interfering with other plugins.
25-
This is not an easy problem to solve with single and multiple inheritance
26-
(were it possible with PHP) has its own drawbacks.
25+
This is not an easy problem to solve with single inheritance, and even if
26+
multiple inheritance was possible with PHP, it comes with its own drawbacks.
2727

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

0 commit comments

Comments
 (0)