mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-28 18:50:11 +02:00
@@ -4,8 +4,8 @@
|
|||||||
Purpose
|
Purpose
|
||||||
-------
|
-------
|
||||||
|
|
||||||
This pattern provides an easy to decouple many components working
|
This pattern provides an easy way to decouple many components working
|
||||||
together. It is a good alternative over Observer IF you have a "central
|
together. It is a good alternative to Observer IF you have a "central
|
||||||
intelligence", like a controller (but not in the sense of the MVC).
|
intelligence", like a controller (but not in the sense of the MVC).
|
||||||
|
|
||||||
All components (called Colleague) are only coupled to the
|
All components (called Colleague) are only coupled to the
|
||||||
@@ -70,4 +70,4 @@ Tests/MediatorTest.php
|
|||||||
:linenos:
|
:linenos:
|
||||||
|
|
||||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Mediator
|
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Mediator
|
||||||
.. __: http://en.wikipedia.org/wiki/Mediator_pattern
|
.. __: http://en.wikipedia.org/wiki/Mediator_pattern
|
||||||
|
Reference in New Issue
Block a user