mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-09 08:26:44 +02:00
Merge branch 'pr/107' into master
This commit is contained in:
@@ -7,3 +7,7 @@ To avoid the cost of creating objects the standard way (new Foo()) and instead c
|
||||
## Examples
|
||||
|
||||
* Large amounts of data (e.g. create 1,000,000 rows in a database at once via a ORM).
|
||||
|
||||
## UML Diagram
|
||||
|
||||

|
||||
|
35
Creational/Prototype/uml/Prototype.uml
Normal file
35
Creational/Prototype/uml/Prototype.uml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Diagram>
|
||||
<ID>PHP</ID>
|
||||
<OriginalElement>\DesignPatterns\Creational\Prototype\BarBookPrototype</OriginalElement>
|
||||
<nodes>
|
||||
<node x="60.0" y="0.0">\DesignPatterns\Creational\Prototype\BookPrototype</node>
|
||||
<node x="155.0" y="178.0">\DesignPatterns\Creational\Prototype\FooBookPrototype</node>
|
||||
<node x="0.0" y="178.0">\DesignPatterns\Creational\Prototype\BarBookPrototype</node>
|
||||
</nodes>
|
||||
<notes />
|
||||
<edges>
|
||||
<edge source="\DesignPatterns\Creational\Prototype\BarBookPrototype" target="\DesignPatterns\Creational\Prototype\BookPrototype">
|
||||
<point x="0.0" y="-34.0" />
|
||||
<point x="67.5" y="153.0" />
|
||||
<point x="102.5" y="153.0" />
|
||||
<point x="-42.5" y="64.0" />
|
||||
</edge>
|
||||
<edge source="\DesignPatterns\Creational\Prototype\FooBookPrototype" target="\DesignPatterns\Creational\Prototype\BookPrototype">
|
||||
<point x="0.0" y="-34.0" />
|
||||
<point x="222.5" y="153.0" />
|
||||
<point x="187.5" y="153.0" />
|
||||
<point x="42.5" y="64.0" />
|
||||
</edge>
|
||||
</edges>
|
||||
<settings layout="Hierarchic Group" zoom="1.0" x="145.0" y="123.0" />
|
||||
<SelectedNodes />
|
||||
<Categories>
|
||||
<Category>Fields</Category>
|
||||
<Category>Constants</Category>
|
||||
<Category>Constructors</Category>
|
||||
<Category>Methods</Category>
|
||||
</Categories>
|
||||
<VISIBILITY>private</VISIBILITY>
|
||||
</Diagram>
|
||||
|
BIN
Creational/Prototype/uml/uml.png
Normal file
BIN
Creational/Prototype/uml/uml.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
305
Creational/Prototype/uml/uml.svg
Normal file
305
Creational/Prototype/uml/uml.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 42 KiB |
Reference in New Issue
Block a user