mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-07 07:26:32 +02:00
Updated uml diagrams for structural patterns
This commit is contained in:
28
Structural/Proxy/uml/Proxy.uml
Normal file
28
Structural/Proxy/uml/Proxy.uml
Normal 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 |
@@ -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
|
Reference in New Issue
Block a user