Cheetah
Public Member Functions | Static Public Member Functions | List of all members
OAuth2\Autoloader Class Reference

Public Member Functions

 __construct ($dir=null)
 
 autoload ($class)
 

Static Public Member Functions

static register ($dir=null)
 

Detailed Description

Autoloads OAuth2 classes

Author
Brent Shaffer <bshafs at gmail dot com> @license MIT License

Definition at line 11 of file Autoloader.php.

Constructor & Destructor Documentation

◆ __construct()

OAuth2\Autoloader::__construct (   $dir = null)

Definition at line 15 of file Autoloader.php.

Member Function Documentation

◆ autoload()

OAuth2\Autoloader::autoload (   $class)

Handles autoloading of classes.

Parameters
string$classA class name.
Returns
boolean Returns true if the class has been loaded

Definition at line 38 of file Autoloader.php.

◆ register()

static OAuth2\Autoloader::register (   $dir = null)
static

Registers OAuth2\Autoloader as an SPL autoloader.

Definition at line 25 of file Autoloader.php.


The documentation for this class was generated from the following file: