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-29 19:20:18 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
c6cc7f21318c78d1591c01eaa7a27c63540e8eed
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