PHP Class Phrozn\Autoloader

Author: Victor Farazdagi
Afficher le fichier Open project: farazdagi/phrozn Class Usage Examples

Méthodes publiques

Méthode Description
getInstance ( ) : Autoloader Singleton instance
getLoader ( ) : Composer\Autoload\ClassLoader Get auto-loader instance
getPath ( $path )
getPaths ( ) : array Get base paths required to load extra resources

Private Methods

Méthode Description
__clone ( )
__construct ( ) : void Setup autoloader.

Method Details

getInstance() public static méthode

Singleton instance
public static getInstance ( ) : Autoloader
Résultat Autoloader

getLoader() public méthode

Get auto-loader instance
public getLoader ( ) : Composer\Autoload\ClassLoader
Résultat Composer\Autoload\ClassLoader

getPath() public méthode

public getPath ( $path )

getPaths() public méthode

Get base paths required to load extra resources
public getPaths ( ) : array
Résultat array