This website requires JavaScript.
Explore
Help
Sign In
info
/
DesignPatternsPHP
Watch
1
Star
0
Fork
0
You've already forked DesignPatternsPHP
mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced
2025-07-30 19:50:12 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
30bde298b0b2bc2eb87806f7a4900dcbb2365d8c
DesignPatternsPHP
/
Structural
/
Decorator
/
README.md
John Webb
3a7e38f91d
Added Decorator UML
2014-07-29 10:18:51 -05:00
344 B
Raw
Blame
History
Decorator
Purpose
To dynamically add new functionality to class instances.
Examples
Zend Framework: decorators for
Zend_Form_Element
instances
Web Service Layer: Decorators JSON and XML for a REST service (in this case, only one of these should be allowed of course)
UML Diagram