PHP Interface App\Source\Interfaces\IModule

ファイルを表示 Open project: andrey900/slimcms

Public Methods

Method Description
afterInitialization ( ) : void Run after init module and register methods
beforeInitialization ( ) : void Instance app, and container in module
getName ( ) : string Return module name
initialization ( ) : void Run if installed module(every loading system)
installModule ( ) : void Run for install module
isInitModule ( ) : boolean Return loaded module status
registerDi ( ) : void Register DI container in slim framework
registerMiddleware ( ) : void Register Middleware in slim framework
registerRoute ( ) : void Register route in slim framework
uninstallModule ( ) : void Run for module remove

Method Details

afterInitialization() public method

Run after init module and register methods
public afterInitialization ( ) : void
return void

beforeInitialization() public method

Instance app, and container in module
public beforeInitialization ( ) : void
return void

getName() public static method

Return module name
public static getName ( ) : string
return string

initialization() public method

Run if installed module(every loading system)
public initialization ( ) : void
return void

installModule() public method

Run for install module
public installModule ( ) : void
return void

isInitModule() public method

Return loaded module status
public isInitModule ( ) : boolean
return boolean

registerDi() public method

Register DI container in slim framework
public registerDi ( ) : void
return void

registerMiddleware() public method

Register Middleware in slim framework
public registerMiddleware ( ) : void
return void

registerRoute() public method

Register route in slim framework
public registerRoute ( ) : void
return void

uninstallModule() public method

Run for module remove
public uninstallModule ( ) : void
return void