Autoloader
in package
In the unlikely event that you are not using Composer to manage class autoloading, here's an autoloader for this lib.
For usage, see any file in the demo/client directory
Table of Contents
Methods
- autoload() : mixed
- Handles autoloading of classes.
- register() : mixed
- Registers PhpXmlRpc\Autoloader as an SPL autoloader.
Methods
autoload()
Handles autoloading of classes.
public
static autoload(string $class) : mixed
Parameters
- $class : string
-
A class name.
register()
Registers PhpXmlRpc\Autoloader as an SPL autoloader.
public
static register([bool $prepend = false ]) : mixed
Parameters
- $prepend : bool = false
-
Whether to prepend the autoloader or not.