PHP-DI / Silex-Bridge

PHP-DI integration in Silex
http://php-di.org/doc/frameworks/silex.html
MIT License
24 stars 8 forks source link

Allow short circuiting the controller in a before middleware #20

Closed jdreesen closed 8 years ago

jdreesen commented 8 years ago

This brings the bridge in line with the behavior of Silex.

fixes #19

jdreesen commented 8 years ago

Fixed short circuiting the controller in before application middleware, too by adding a use statement for the Symfony response so that it will correctly be matched in the instanceof check. The changes in the second commit were already applied in the silex-2 branch.

mnapoli commented 8 years ago

:+1: all good for me feel free to merge and tag a new release :)

jdreesen commented 8 years ago

Done :)