-
Fabien Potencier authored
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');
9539480b
To find the state of this project's repository at the time of any of these versions, check out
the tags.