PHP 클래스 Predis\Autoloader

저자: Eric Naeseth ([email protected])
파일 보기 프로젝트 열기: nrk/predis 1 사용 예제들

공개 메소드들

메소드 설명
__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.