PHP Classes

PHP Public Wrap: Access an object private variables and functions

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 311 All time: 7,282 This week: 284Up
Version License PHP version Categories
public-wrap 1.0BSD License5.3PHP 5, Language, Testing
Description 

Author

This class can access an object private attributes and methods.

It takes a given object and uses reflection to access its private attributes and methods from outside.

The class implements __set, __get and __call methods to provide the access to the wrapped object externally.

Picture of Ninsuo
  Performance   Level  
Name: Ninsuo <contact>
Classes: 2 packages by
Country: France France
Age: 39
All time rank: 325586 in France France
Week rank: 587 Up20 in France France Up

  Files folder image Files  
File Role Description
Plain text file PublicWrap.php Class Core class
Accessible without login Plain text file PublicWrap.demo.php Example Demo: a full usage example
Accessible without login Plain text file readme.txt Doc. Documentation
Accessible without login Plain text file PublicWrap.test.php Test PHPUnit tests

 Version Control Unique User Downloads Download Rankings  
 0%
Total:311
This week:0
All time:7,282
This week:284Up