PHP Classes
elePHPant
Icontem

Wrapping Factory: Wrap objects to add behavior of other classes

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-12-28 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 409 All time: 6,156 This week: 919Up
Version License PHP version Categories
wrapping-factory 1BSD License5.2PHP 5, Language, Design Patterns
Description Author

This class can wrap objects to add behavior of other classes.

It can add classes that define new behavior that you want to add to an already created object of some other class.

The added classes extend this wrapping factory class.

The new object implements the behavior of the added classes.

The added classes can call the parent wrapping class to call the wrapped object and so extend the original object behavior.

Picture of Adrian Miu
Name: Adrian Miu <contact>
Classes: 1 package by
Country: Romania Romania

  Files folder image Files  
File Role Description
Plain text file wrapping.php Class The classes required for this to work
Accessible without login Plain text file wrapping_test.php Test Testing file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:409
This week:0
All time:6,156
This week:919Up