PHP Class Phrozn\Autoloader

Author: Victor Farazdagi
显示文件 Open project: farazdagi/phrozn Class Usage Examples

Public Methods

Method 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

Method Description
__clone ( )
__construct ( ) : void Setup autoloader.

Method Details

getInstance() public static method

Singleton instance
public static getInstance ( ) : Autoloader
return Autoloader

getLoader() public method

Get auto-loader instance
public getLoader ( ) : Composer\Autoload\ClassLoader
return Composer\Autoload\ClassLoader

getPath() public method

public getPath ( $path )

getPaths() public method

Get base paths required to load extra resources
public getPaths ( ) : array
return array