-
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