mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-05 22:47:34 +02:00
Revert "[pl translation] Creational/SimpleFactory sorce fix."
This reverts commit a44c3c80ab
.
This commit is contained in:
@@ -7,9 +7,7 @@ Purpose
|
||||
SimpleFactory is a simple factory pattern.
|
||||
|
||||
It differs from the static factory because it is not static.
|
||||
|
||||
Therefore, you can have multiple factories, differently parametrized, you can subclass it and you can mock it.
|
||||
|
||||
It always should be preferred over a static factory!
|
||||
|
||||
UML Diagram
|
||||
|
Reference in New Issue
Block a user