PHP Classes

Wrapping Factory: Wrap objects to add behavior of other classes

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 417 All time: 6,424 This week: 660Up
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: 349569 in Romania Romania
Week rank: 164 Up5 in Romania Romania Up

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:417
This week:0
All time:6,424
This week:660Up