Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd0616c7

Browse files
committed
Added Proxy UML
1 parentd2dcb19 commitd0616c7

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

‎Structural/Proxy/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ To interface to anything that is expensive or impossible to duplicate.
77
##Examples
88

99
* Doctrine2 uses proxies to implement framework magic (e.g. lazy initialization) in them, while the user still works with his own entity classes and will never use nor touch the proxies
10+
11+
##UML Diagram
12+
13+
![Alt Proxy UML Diagram](uml/uml.png)

‎Structural/Proxy/uml/uml.png

10.7 KB
Loading

‎Structural/Proxy/uml/uml.svg

Lines changed: 1 addition & 0 deletions
Loading

‎Structural/Proxy/uml/uml.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@startuml
2+
3+
class Record {
4+
#$data : array|null
5+
+__construct($data = null)
6+
+__set($name : string, $value : mixed)
7+
+__get($name : string)
8+
}
9+
10+
class RecordProxy {
11+
#$isDirty : bool
12+
#$isInitialized : bool
13+
+__construct(data : array)
14+
+__set($name : string, $value : mixed)
15+
}
16+
17+
Record <|.. RecordProxy
18+
@enduml

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp