mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 15:06:31 +02:00
some more comments, typos etc.
This commit is contained in:
@@ -6,7 +6,7 @@ namespace DesignPatterns;
|
||||
* Prototype pattern
|
||||
*
|
||||
* Purpose:
|
||||
* to avoid the the cost of creating objects the standard way (new Foo()) and instead create a prototype and clone it
|
||||
* to avoid the cost of creating objects the standard way (new Foo()) and instead create a prototype and clone it
|
||||
*
|
||||
* Examples:
|
||||
* - Large amounts of data (e.g. create 1,000,000 rows in a database at once via a ORM)
|
||||
|
Reference in New Issue
Block a user