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.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.