PHP Class XStatic\AliasLoader

Inheritance: implements xstatic\AliasLoaderInterface
显示文件 Open project: jeremeamia/xstatic Class Usage Examples

Public Methods

Method Description
__construct ( array $aliases = [] )
addAlias ( $alias, $fqcn )
isRegistered ( )
load ( $fqcn )
register ( $rootNamespace = false )

Method Details

__construct() public method

public __construct ( array $aliases = [] )
$aliases array

addAlias() public method

public addAlias ( $alias, $fqcn )

isRegistered() public method

public isRegistered ( )

load() public method

public load ( $fqcn )

register() public method

public register ( $rootNamespace = false )