cspray/SprayFire — Issue #47: ConfigurationBootstrap
Author: cspray
Created: 2011-12-31 22:25:19+00:00
State: open
Labels: roadmap

We need to get the configuration creation out of 'web/index.php' and into a bootstrap object.

### Goals

- Bootstrap should be able to create a variable number of configuration objects
- Each configuration object to be created needs the following information:
- `config-object` = the SprayFire.Config.Configuration object to create
- `config-data` = whatever needs to be injected into the constructor of the `config-object`
- `map-key` = the key to store this configuration under in the returned `RestrictedMap`
- Each `config-object` should be created, passing the appropriate `config-data` in the constructor
- A method should be available to return a `RestrictedMap` holding the Configuration objects with the associated keys