WireBox

This configuration structure is used to configure the WireBox dependency injection framework embedded in ColdBox.

// wirebox integration
wirebox = {
    binder = 'config.WireBox',
    singletonReload = true
};

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, on every request WireBox will flush its singleton objects so you can develop without any headaches of reloading.

: This operation can cause some thread issues as it is only meant for development. Use at your own risk.

results matching ""

    No results matching ""