mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 23:16:33 +02:00
no longer list Singleton and ServiceLocator as anti-pattern, still advise against it in examples
This commit is contained in:
@@ -12,5 +12,5 @@ solve this problem by somehow controlling this object creation.
|
||||
* [Pool](Pool) [:notebook:](http://en.wikipedia.org/wiki/Object_pool_pattern)
|
||||
* [Prototype](Prototype) [:notebook:](http://en.wikipedia.org/wiki/Prototype_pattern)
|
||||
* [SimpleFactory](SimpleFactory)
|
||||
* [Singleton](Singleton) [:notebook:](http://en.wikipedia.org/wiki/Singleton_pattern) (is considered an anti-pattern! :no_entry:)
|
||||
* [Singleton](Singleton) [:notebook:](http://en.wikipedia.org/wiki/Singleton_pattern)
|
||||
* [StaticFactory](StaticFactory)
|
||||
|
Reference in New Issue
Block a user