Less_Autoloader
in package
Autoloader
Tags
Table of Contents
- $libDir : string
- Library directory
- $registered : bool
- Registered flag
- loadClass() : mixed
- Loads the class
- register() : void
- Register the autoloader in the spl autoloader
- unregister() : void
- Unregisters the autoloader
Properties
$libDir
Library directory
protected
static string
$libDir
$registered
Registered flag
protected
static bool
$registered
= alse
Methods
loadClass()
Loads the class
public
static loadClass(string $className) : mixed
Parameters
- $className : string
-
The class to load
Return values
mixed —register()
Register the autoloader in the spl autoloader
public
static register() : void
Tags
Return values
void —unregister()
Unregisters the autoloader
public
static unregister() : void