Skip to content

Commit 073826c

Browse files
committed
Fix title & add intent desk.
1 parent 59bd057 commit 073826c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

patterns/mediator/conceptual/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# State Pattern
2-
State is a behavioral design pattern that lets an object alter its behavior when its internal state
3-
changes. It appears as if the object changed its class.
1+
# Mediator Pattern
2+
Mediator is a behavioral design pattern that lets you reduce chaotic dependencies between objects.
3+
The pattern restricts direct communications between the objects and forces them to collaborate only
4+
via a mediator object.
45

56
Tutorial: [here](https://refactoring.guru/design-patterns/mediator).
67

7-
## Diagram:
8+
## Conceptual diagram:
89
![image](https://user-images.githubusercontent.com/8049534/173237874-971dd4e7-2e74-4cac-bcea-77b88255adad.png)
910

1011
### Client code:

0 commit comments

Comments
 (0)