2017 © Pedro Peláez
 

library lazyloader

A fast, strict lazy loader.

image

jsanc623/lazyloader

A fast, strict lazy loader.

  • Wednesday, July 10, 2013
  • by jsanc623
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

LazyLoader

A fast, strict lazy loader, (*1)

Usage

The LazyLoader class is already initialized in the $LazyLoader variable. You must explicitly call $LazyLoader::Register() to init the loader., (*2)

require("LazyLoader.php");
$LazyLoader->Register();

There we go, all done! This is the basic usage., (*3)

Setting a subdirectory for your classes

Let's say you have all your classes in a directory "Classes/". You can assign this so that LazyLoader searches in that directory by doing the following:, (*4)

require("LazyLoader.php");
$LazyLoader::SetBaseDirectory("Classes");
$LazyLoader::Register();

The Versions

10/07 2013

dev-master

9999999-dev

A fast, strict lazy loader.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Juan Sanchez