moved controller method configuration from Application to Controller
It's more consistent with the way we manage other aspects of the controller and it allows to change the method programatically after the creation of the controller. Before: $app->match('/', function () { echo 'foo'; }, 'GET|POST'); After: $app->match('/', function () { echo 'foo'; })->method('GET|POST');
Showing
CHANGELOG
0 → 100644
Please register or sign in to comment