Plop
A simple logging library for PHP
Plop\Autoloader Class Reference

An autoloader for Plop's classes. More...

Public Member Functions

 __clone ()
 This class may not be cloned.
 
 load ($class)
 

Static Public Member Functions

static register ()
 

Protected Member Functions

 __construct ()
 Prevent direct construction of this class.
 

Static Protected Attributes

static $instance
 Singleton to prevent multiple registrations.
 

Detailed Description

An autoloader for Plop's classes.

Definition at line 27 of file Autoloader.php.

Member Function Documentation

Plop\Autoloader::load (   $class)

Attempt to load the given class.

Parameters
string$className 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
boolWhether 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: