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

Commit6dd33fd

Browse files
committed
Added Registry UML
1 parentd0616c7 commit6dd33fd

File tree

6 files changed

+18
-4
lines changed

6 files changed

+18
-4
lines changed

‎Structural/FluentInterface/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ To write code that is easy readable just like sentences in a natural language (l
99
* Doctrine2's QueryBuilder works something like that example class below
1010
* PHPUnit uses fluent interfaces to build mock objects
1111
* Yii Framework: CDbCommand and CActiveRecord use this pattern, too
12+
13+
##UML Diagram
14+
15+
![Alt FluentInterface UML Diagram](uml/uml.png)

‎Structural/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,3 @@ entities.
1414
*[FluentInterface](FluentInterface)[:notebook:](http://en.wikipedia.org/wiki/Fluent_interface)
1515
*[Proxy](Proxy)[:notebook:](http://en.wikipedia.org/wiki/Proxy_pattern)
1616
*[Registry](Registry)[:notebook:](http://en.wikipedia.org/wiki/Service_locator_pattern)
17-
18-
##UML Diagram
19-
20-
![Alt FluentInterface UML Diagram](uml/uml.png)

‎Structural/Registry/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ an abstract class with only static methods (or using the Singleton pattern)
99

1010
* Zend Framework:`Zend_Registry` holds the application's logger object, front controller etc.
1111
* Yii Framework:`CWebApplication` holds all the application components, such as`CWebUser`,`CUrlManager`, etc.
12+
13+
##UML Diagram
14+
15+
![Alt Registry UML Diagram](uml/uml.png)

‎Structural/Registry/uml/uml.png

5.13 KB
Loading

‎Structural/Registry/uml/uml.svg

Lines changed: 1 addition & 0 deletions
Loading

‎Structural/Registry/uml/uml.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@startuml
2+
3+
abstract class Registry {
4+
#static $storedValues : array;
5+
+static function set($key : string, $value : mixed)
6+
+static function get($key : string)
7+
}
8+
9+
@enduml

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp