Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3a7e38f

Browse files
committed
Added Decorator UML
1 parent 729d093 commit 3a7e38f

File tree

7 files changed

+36
-1
lines changed

7 files changed

+36
-1
lines changed

Structural/DataMapper/uml/uml.png

-525 Bytes
Loading

Structural/DataMapper/uml/uml.svg

Lines changed: 1 addition & 1 deletion
Loading

Structural/DataMapper/uml/uml.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class User {
1313
}
1414

1515
class UserMapper {
16+
# $user : User
1617
protected $adapter
1718
+__construct(DBAL $dbLayer)
1819
+save(User $user)

Structural/Decorator/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ To dynamically add new functionality to class instances.
88

99
* Zend Framework: decorators for `Zend_Form_Element` instances
1010
* Web Service Layer: Decorators JSON and XML for a REST service (in this case, only one of these should be allowed of course)
11+
12+
## UML Diagram
13+
14+
![Alt Decorator UML Diagram](uml/uml.png)

Structural/Decorator/uml/uml.png

16.5 KB
Loading

0 commit comments

Comments
 (0)