Closed praswicaksono closed 8 years ago
Thank you for the PR! Could you also add a functional test in this class to cover the behavior you described in #9? i.e. that something like this works:
$app->get('/{name}', HelloName::class)
->convert('req', HelloNameConverter::class);
I have a few other comments that I'll write inline the diff.
I don't have much time right now to check, do you know if the callback_resolver
service is used elsewhere in Silex (other than for param converters)? I'm asking that because I'm wondering:
Anyway I'm looking forward to merge and release this!
Silex use callback_resolver
on MiddlewareListener
, ExceptionListener
, ConverterListener
and ViewListener
so PHP-DI Callable will useful on those feature too. I don't think this will break them or other feature but anyway I will add functional test to all those feature.
:+1: awesome
ready for review :)
I'm going to take a deeper look when I'm at home this evening.
Some small nits and style consistency thingies. Otherwise it's fine, I think :)
That was fast ;) That looks all good to me! @jdreesen?
:+1: from me :)
:+1: thanks @Atriedes
I'll create a release tonight with a documentation update
this PR will solve issue #9