Updated uml diagrams for structural patterns

This commit is contained in:
John Webb
2014-07-31 13:27:12 -05:00
parent 6dd33fd433
commit d42043c36c
39 changed files with 3731 additions and 219 deletions

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>PHP</ID>
<OriginalElement>\DesignPatterns\Structural\Proxy\Record</OriginalElement>
<nodes>
<node x="4.0" y="0.0">\DesignPatterns\Structural\Proxy\Record</node>
<node x="0.0" y="159.0">\DesignPatterns\Structural\Proxy\RecordProxy</node>
</nodes>
<notes />
<edges>
<edge source="\DesignPatterns\Structural\Proxy\RecordProxy" target="\DesignPatterns\Structural\Proxy\Record">
<point x="0.0" y="-54.5" />
<point x="0.0" y="54.5" />
</edge>
</edges>
<settings layout="Hierarchic Group" zoom="1.0" x="81.0" y="134.0" />
<SelectedNodes>
<node>\DesignPatterns\Structural\Proxy\Record</node>
</SelectedNodes>
<Categories>
<Category>Fields</Category>
<Category>Constants</Category>
<Category>Constructors</Category>
<Category>Methods</Category>
</Categories>
<VISIBILITY>private</VISIBILITY>
</Diagram>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -1,18 +0,0 @@
@startuml
class Record {
#$data : array|null
+__construct($data = null)
+__set($name : string, $value : mixed)
+__get($name : string)
}
class RecordProxy {
#$isDirty : bool
#$isInitialized : bool
+__construct(data : array)
+__set($name : string, $value : mixed)
}
Record <|.. RecordProxy
@enduml