mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-27 18:20:22 +02:00
Update README.md
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
## Purpose
|
## Purpose
|
||||||
|
|
||||||
To avoid 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
|
## Examples
|
||||||
|
|
||||||
* Large amounts of data (e.g. create 1,000,000 rows in a database at once via a ORM)
|
* 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