PHP Class Windwalker\Windwalker

Since: 2.0
ファイルを表示 Open project: asika32764/natika Class Usage Examples

Public Methods

Method Description
loadConfiguration ( Windwalker\Registry\Registry $config ) : void Load configuration files.
loadPackages ( ) : Windwalker\Core\Package\AbstractPackage[] Load packages.
loadProviders ( ) : Windwalker\DI\ServiceProviderInterface[] Load providers.
loadRouting ( ) : array Load routing profiles as an array.
prepareSystemPath ( Windwalker\Registry\Registry $config ) : void Prepare system path.

Method Details

loadConfiguration() public static method

Load configuration files.
public static loadConfiguration ( Windwalker\Registry\Registry $config ) : void
$config Windwalker\Registry\Registry The config registry object.
return void

loadPackages() public static method

If you want some packages run in both Web and Console, register them here.
public static loadPackages ( ) : Windwalker\Core\Package\AbstractPackage[]
return Windwalker\Core\Package\AbstractPackage[]

loadProviders() public static method

If you want seom 3rd libraries tun in both Web and Console, register them here.
public static loadProviders ( ) : Windwalker\DI\ServiceProviderInterface[]
return Windwalker\DI\ServiceProviderInterface[]

loadRouting() public static method

Load routing profiles as an array.
public static loadRouting ( ) : array
return array

prepareSystemPath() public static method

Write your custom path to $config['path.xxx'].
public static prepareSystemPath ( Windwalker\Registry\Registry $config ) : void
$config Windwalker\Registry\Registry The config registry object.
return void