laravel/framework — pull request #4598 by crynobone (2014-06-06 14:15:32+00:00)
Title: [Database\Capsule] Only create a "config" instance if only it not yet created.

| Q | A
| ------------- | ---
| Bug fix? | yes (I consider it a bug, in my use case :smile:)
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | None
| License | MIT
| Doc PR | None

On one of the project I'm working right now, I'm using both `Config` and `Capsule` component, since I register config service location first and then capsule, all the preloaded config is destroy on the config service location is converted to instance of `Illuminate\Support\Fluent` which is not ideal in my use case.

Signed-off-by: crynobone