WireBox
This configuration structure is used to configure the WireBox dependency injection framework embedded in ColdBox.
1
// wirebox integration
2
wirebox = {
3
binder = 'config.WireBox',
4
singletonReload = true
5
};
Copied!
binder
The location of the WireBox configuration binder to use for the application. If empty, we will use the binder in the config folder called by conventions: WireBox.cfc
singletonReload
A great flag for development. If enabled, WireBox will flush its singleton objects on every request so you can develop without any headaches of reloading.
Warning : This operation can cause some thread issues and it is only meant for development. Use at your own risk.
Last modified 1yr ago
Copy link