mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 15:06:31 +02:00
Added Proxy UML
This commit is contained in:
BIN
Structural/Proxy/uml/uml.png
Normal file
BIN
Structural/Proxy/uml/uml.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
1
Structural/Proxy/uml/uml.svg
Normal file
1
Structural/Proxy/uml/uml.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 5.2 KiB |
18
Structural/Proxy/uml/uml.txt
Normal file
18
Structural/Proxy/uml/uml.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
@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