mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-12 18:04:04 +02:00
Change index.rst to README.rst
remove all pattern's README.md
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
# Multiton
|
||||
|
||||
**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND MAINTAINABILITY USE DEPENDENCY INJECTION!**
|
||||
|
||||
# Purpose
|
||||
|
||||
To have only a list of named instances that are used, like a singleton but with n instances.
|
||||
|
||||
# Examples
|
||||
|
||||
* 2 DB Connectors, e.g. one for MySQL, the other for SQLite
|
||||
* multiple Loggers (one for debug messages, one for errors)
|
||||
|
||||
## UML Diagram
|
||||
|
||||

|
Reference in New Issue
Block a user