• Fabien Potencier's avatar
    feature #1341 Added support for callables in CallbackResolver (ragboyjr) · ea0b84a4
    Fabien Potencier authored
    This PR was merged into the 2.0.x-dev branch.
    
    Discussion
    ----------
    
    Added support for callables in CallbackResolver
    
    Added the ability for the callback resolver to support any callable instead
    of just the object and method callable type.
    
    An alternate implementation to this would be to update the CallbackResolver to use an interface, then keep the old CallbackResolver as is and just add a new implementation that you can change if you'd like. I'd probably prefer to do the interface, but depends on what people think.
    
    This fixes #1327
    Signed-off-by: default avatarRJ Garcia <rj@bighead.net>
    
    Commits
    -------
    
    65afac9f Added support for callables in CallbackResolver
    ea0b84a4
Name
Last commit
Last update
..
Application Loading commit data...
EventListener Loading commit data...
Provider Loading commit data...
Route Loading commit data...
ApplicationTest.php Loading commit data...
CallbackResolverTest.php Loading commit data...
CallbackServicesTest.php Loading commit data...
ControllerCollectionTest.php Loading commit data...
ControllerResolverTest.php Loading commit data...
ControllerTest.php Loading commit data...
ExceptionHandlerTest.php Loading commit data...
FunctionalTest.php Loading commit data...
JsonTest.php Loading commit data...
LazyDispatcherTest.php Loading commit data...
LazyRequestMatcherTest.php Loading commit data...
LocaleTest.php Loading commit data...
MiddlewareTest.php Loading commit data...
RouterTest.php Loading commit data...
ServiceControllerResolverRouterTest.php Loading commit data...
ServiceControllerResolverTest.php Loading commit data...
StreamTest.php Loading commit data...
WebTestCaseTest.php Loading commit data...