PHP Класс Predis\Autoloader

Автор: Eric Naeseth ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $baseDirectory = __DIR__ )
autoload ( string $className ) Loads a class from a file using its fully qualified name.
register ( boolean $prepend = false ) Registers the autoloader class with the PHP SPL autoloader.

Описание методов

__construct() публичный Метод

public __construct ( string $baseDirectory = __DIR__ )
$baseDirectory string Base directory where the source files are located.

autoload() публичный Метод

Loads a class from a file using its fully qualified name.
public autoload ( string $className )
$className string Fully qualified name of a class.

register() публичный статический Метод

Registers the autoloader class with the PHP SPL autoloader.
public static register ( boolean $prepend = false )
$prepend boolean Prepend the autoloader on the stack instead of appending it.