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-09-26 06:19:20 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
9d91da41539c2569e9ed3d170a20d6e15008b43d
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