• Fabien Potencier's avatar
    moved controller method configuration from Application to Controller · 9539480b
    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
Name
Last commit
Last update
doc Loading commit data...
src/Silex Loading commit data...
tests Loading commit data...
vendor Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
CHANGELOG Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
autoload.php Loading commit data...
compile Loading commit data...
example.htaccess Loading commit data...
phpunit.xml.dist Loading commit data...