\OAuth2Autoloader

Autoloads OAuth2 classes

Summary

Methods
Properties
Constants
__construct()
register()
autoload()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$dir
N/A

Properties

$dir

$dir : string

Type

string

Methods

__construct()

__construct(string  $dir = null) 

Parameters

string $dir

register()

register(  $dir = null) 

Registers OAuth2\Autoloader as an SPL autoloader.

Parameters

$dir

autoload()

autoload(string  $class) : boolean

Handles autoloading of classes.

Parameters

string $class
  • A class name.

Returns

boolean —
  • Returns true if the class has been loaded