Answer Posted / Chandra Bhushan Singh
Decorators in Zend Framework are used to add additional behavior to an object without modifying its original class. They can be thought of as wrappers that encapsulate the wrapped object and provide extra functionality.nnFor example, you might use a decorator to log every method call on an object, or to apply some formatting to data before it's outputted.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers