If you are using your configuration binder within a ColdBox application you will have some extra goodies in the Binder that come in very handy:
getColdBox() : Retrieve the instance of the running ColdBox application
getColdBox()
getAppMapping() : Get the current AppMapping, the location of the application on th server, setting for the running ColdBox application
getAppMapping()
AppMapping
// map the model folder mapDirectory( getAppMapping() & ".model" );
Was this helpful?