프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$classmap | array | Class map array. | |
$fallback | boolean | Flag to make the autoloader the fallback autoloader or not | |
$prefixes | array | Array of available namespaces prefixes. | |
$suppress | boolean | Flag to suppress warnings |
메소드 | 설명 | |
---|---|---|
__construct ( boolean $self = true ) : Autoloader | Constructor | |
__invoke ( string $class ) : void | Invoke the class | |
factory ( boolean $self = true ) : Autoloader | Static method to instantiate the autoloader object | |
loadClassMap ( string $classmap ) : Autoloader | Load a class map file | |
register ( string $namespace, string $directory ) : Autoloader | Register a namespace and directory location with the autoloader | |
splAutoloadRegister ( boolean $suppress = true, boolean $fallback = false ) : Autoloader | Register the autoloader instance with the SPL |
public __construct ( boolean $self = true ) : Autoloader | ||
$self | boolean | |
리턴 | Autoloader |
public static factory ( boolean $self = true ) : Autoloader | ||
$self | boolean | |
리턴 | Autoloader |
public loadClassMap ( string $classmap ) : Autoloader | ||
$classmap | string | |
리턴 | Autoloader |
public register ( string $namespace, string $directory ) : Autoloader | ||
$namespace | string | |
$directory | string | |
리턴 | Autoloader |
public splAutoloadRegister ( boolean $suppress = true, boolean $fallback = false ) : Autoloader | ||
$suppress | boolean | |
$fallback | boolean | |
리턴 | Autoloader |
protected bool $fallback | ||
리턴 | boolean |