symfony/symfony — pull request #10814 by danharper (2014-04-29 15:14:45+00:00)
Title: [HttpKernel] Extract method to make callable controller in ControllerResolver

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |

Previously it was required to duplicate the entirety of the `getController()` and `createController()` methods just to replace the call to `new` (e.g. with container resolution, instead).

Now it's possible to just override the `makeCallable()` method.