• 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
bin Loading commit data...
doc Loading commit data...
src/Silex Loading commit data...
tests/Silex/Tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.rst Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...