fabpot/Silex — pull request #479 by gigablah (2012-09-08 07:24:55+00:00)
Title: Apply config values before calling register() in service provider

When I register a service provider, my configuration values are not available in the provider's register() function. This is at odds with the documentation:

"You can also provide some parameters as a second argument. These will be set **before** the provider is registered:"

To fix this, I shifted the code that adds the values to the container up to the top of Application::register().