mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-02 21:17:29 +02:00
Fix typo (parametrized => parameterized). Didn't touch other translations due to encoding corruption.
This commit is contained in:
@@ -7,7 +7,7 @@ Purpose
|
|||||||
SimpleFactory is a simple factory pattern.
|
SimpleFactory is a simple factory pattern.
|
||||||
|
|
||||||
It differs from the static factory because it is not static.
|
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.
|
Therefore, you can have multiple factories, differently parameterized, you can subclass it and you can mock it.
|
||||||
It always should be preferred over a static factory!
|
It always should be preferred over a static factory!
|
||||||
|
|
||||||
UML Diagram
|
UML Diagram
|
||||||
|
@@ -31,7 +31,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../../Creational/SimpleFactory/README.rst:12
|
#: ../../Creational/SimpleFactory/README.rst:12
|
||||||
msgid ""
|
msgid ""
|
||||||
"Therefore, you can have multiple factories, differently parametrized, you "
|
"Therefore, you can have multiple factories, differently parameterized, you "
|
||||||
"can subclass it and you can mock-up it."
|
"can subclass it and you can mock-up it."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@ msgstr ""
|
|||||||
#: ../../Creational/SimpleFactory/README.rst:9
|
#: ../../Creational/SimpleFactory/README.rst:9
|
||||||
msgid ""
|
msgid ""
|
||||||
"It differs from the static factory because it is not static. "
|
"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."
|
"Therefore, you can have multiple factories, differently parameterized, you can subclass it and you can mock it."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../Creational/SimpleFactory/README.rst:11
|
#: ../../Creational/SimpleFactory/README.rst:11
|
||||||
|
Reference in New Issue
Block a user