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 All time: 6,423 This week: 660Up
Version License PHP version Categories
wrapping-factory 1BSD License5.2PHP 5, Language, Design Patterns


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: 349469 in Romania Romania
Week rank: 271 Up5 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  
This week:0
All time:6,423
This week:660Up