Lim_Registry – PHP Lazy Registry Class


/ Published in: PHP
Save to your folder(s)

Managing globals with the registry pattern. This class provides lazy loading functionallity. This means it is possible to add a callback or class (with arguments) which will be called or instanciated when it is being used for the first time.

URL: http://www.freelancephp.net/php-lazy-registry-class/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.