laravel/framework — pull request #4526 by GrahamCampbell (2014-05-30 17:42:49+00:00)
Title: [4.2] [Proposal & Implementation] Response Factory Refactor

How about we have an actual response factory class that is injectable instead of just that static class we have.

NB: this is completely backwards compatible **BUT** we now need to add the HttpService provider to the `providers` array in the config).