• Fabien Potencier's avatar
    merged branch robdudley/master (PR #636) · 94d9da5a
    Fabien Potencier authored
    This PR was squashed before being merged into the master branch (closes #636).
    
    Commits
    -------
    
    abdc1fc7 Updated docs to include _method and enableHttpMethodParameterOverride()
    
    Discussion
    ----------
    
    Updated docs to include _method and enableHttpMethodParameterOverride()
    
    Should be self explanatory. Small addition to the docs to explain about the _method form value and also to advise abut the explicit enableHttpMethodParameterOverride() call required with Symfony 2.2.0 and later.
    
    ---------------------------------------------------------------------------
    
    by igorw at 2013-02-18T13:57:37Z
    
    Please wrap the docs at 80 chars.
    
    👍
    
    ---------------------------------------------------------------------------
    
    by davedevelopment at 2013-02-18T14:02:08Z
    
    👍
    
    Only one thing, do we need to explicitly state to do this before the request is handled? No-brainer to us, but what about others?
    
    Or should I say, how likely are people to try and do something like:
    
    ``` php
    
    $app->put("/some/resource", function(Request $request) {
        Request::enableHttpMethodParameterOverride();
    });
    
    ```
    
    ---------------------------------------------------------------------------
    
    by robdudley at 2013-02-18T14:11:15Z
    
    I've used a similar example to the reverse proxy tip which I hope would make the context clear. Not sure how else to word it without becoming unnecessarily verbose. Also I'm assuming that the setting is going to be rolled into core at some point as it has pretty big backwards compatibility implications.
    
    ---------------------------------------------------------------------------
    
    by davedevelopment at 2013-02-18T14:14:00Z
    
    :shipit:
    94d9da5a
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
src/Silex Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...