const Ioc = require('adonis-fold').Ioc
Ioc.on('bind:provider', (namespace, isSingleton) => {
// binding registered
})
Ioc.on('provider:resolved', (namespace, returnValue) => {
// binding resolved
})
Ioc.on('module:resolved', (namespace, fromPath, returnValue) => {
// resolved autoloaded module
})
Ioc.on('extend:provider', (key, namespace) => {
// a provider has been extended
})
Ioc.on('bind:autoload', (namespace, directoryPath) => {
// defined autoload namespace and directory
})
Ioc.on('bind:alias', (alias, namespace) => {
// an alias has been registered
})
Ioc.on('providers:registered', () => {
// all providers have been registered
})
Ioc.on('providers:booted', () => {
// all providers have been booted
})