File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/event_dispatcher Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ answer.
22
22
Consider the real-world example where you want to provide a plugin system
23
23
for your project. A plugin should be able to add methods, or do something
24
24
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.
27
27
28
28
The Symfony EventDispatcher component implements the `Mediator `_ pattern
29
29
in a simple and effective way to make all these things possible and to make
You can’t perform that action at this time.
0 commit comments