Skip to content

Commit a34fb2e

Browse files
outspacedxabbuh
authored andcommitted
Altered single / multiple inheritance sentence
The way the sentence was didn't really make sense, and was difficult to process
1 parent c63c826 commit a34fb2e

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)