PHP Classes

PHP Anonymous Function use keyword: Call functions dynamically added to objects

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
StarStarStar 57%Total: 233 All time: 8,126 This week: 206Up
Version License PHP version Categories
anonymous-function 1.0GNU General Publi...5PHP 5, Language
Description 

Author

This is a very simple class can call functions dynamically added to objects.

It extends the StdClass class to be able to call an anonymous function that employs the use keyword to be added dynamically to an object of the class.

The class can pass to the anonymous function any parameters passed to the call.

Picture of Abraham Cruz Sustaita
Name: Abraham Cruz Sustaita <contact>
Classes: 5 packages by
Country: Mexico Mexico
Age: 38
All time rank: 180619 in Mexico Mexico
Week rank: 215 Up4 in Mexico Mexico Up

  Files folder image Files (2)  
File Role Description
Files folder imageCore (1 file)
Accessible without login Plain text file Example.php Example Example

  Files folder image Files (2)  /  Core  
File Role Description
  Plain text file Std.php Class Class

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:233
This week:0
All time:8,126
This week:206Up
 User Ratings  
 
 All time
Utility:81%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1617