PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 417 This week: 1All time: 6,420 This week: 571Up
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
Age: ???
All time rank: 349169 in Romania Romania
Week rank: 420 Up12 in Romania Romania Up

  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:417
This week:1
All time:6,420
This week:571Up