laravel/framework — pull request #3790 by anlutro (2014-03-05 09:40:03+00:00)
Title: Fix premature instantiation of extended bindings

If you `app->extend` an object after it's been bound but before it's been resolved, it will be initialized right away. See the unit test for an example. The solution is pretty simple, just check if an object has actually been resolved rather than if it's bound.

I'm pretty sure this should be backwards compatible, but if someone has a codebase that uses rebound and could try it out or write additional tests that would be great.