Dominik Liebler 809fd301a3 Fixed name
2013-09-24 14:25:38 +02:00

285 B

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)