mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-13 02:14:04 +02:00
Change index.rst to README.rst
remove all pattern's README.md
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
# Mediator
|
||||
|
||||
## Purpose
|
||||
|
||||
This pattern provides an easy to decouple many components working together.
|
||||
It is a good alternative over Observer IF you have a "central intelligence",
|
||||
like a controller (but not in the sense of the MVC).
|
||||
|
||||
All components (called Colleague) are only coupled to the MediatorInterface and
|
||||
it is a good thing because in OOP, one good friend is better than many. This
|
||||
is the key-feature of this pattern.
|
||||
|
||||
## UML Diagram
|
||||
|
||||

|
Reference in New Issue
Block a user