An autoloader for Plop's classes.
More...
|
| __construct () |
| Prevent direct construction of this class.
|
|
|
static | $instance |
| Singleton to prevent multiple registrations.
|
|
An autoloader for Plop's classes.
Definition at line 27 of file Autoloader.php.
Plop\Autoloader::load |
( |
|
$class | ) |
|
Attempt to load the given class.
- Parameters
-
string | $class | Name of the class to load. |
- Note
- This method only attempts to load Plop's classes. It will return false if an attempt is made to load a class that does not belong to Plop.
- Return values
-
bool | Whether the given class was successfully loaded (true) or not (false). |
Definition at line 72 of file Autoloader.php.
static Plop\Autoloader::register |
( |
| ) |
|
|
static |
Register this class as an SPL auto-loader.
- Returns
- This method does not return any value.
Definition at line 49 of file Autoloader.php.
The documentation for this class was generated from the following file: