Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
use handleRequest() instead of bind()#2974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
xabbuh commentedSep 13, 2013
#2965 should be merged before this. |
wouterj commentedSep 13, 2013
-1 for the current state. It's the component docs, we should talk about using the form component without the HttpKernel extension awell as with the HttpKernel extension. |
components/form/introduction.rst Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
you should keep the information about the HttpFoundation integration too
xabbuh commentedOct 11, 2013
So, if I understand this correctly, you'd pass the superglobals (i.e. |
stof commentedOct 11, 2013
@xabbuh No, when using the NativeRequestHandler, you call it without argument (or with |
xabbuh commentedOct 11, 2013
Thanks for the clarification. Think I got it. But, where is the advantage on using the |
stof commentedOct 11, 2013
@xabbuh see the chapter of the doc describing the advantages of HttpFoundation orhttp://blog.servergrove.com/2013/09/23/symfony2-components-overview-httpfoundation/ for instance. |
xabbuh commentedOct 12, 2013
That makes sense. Should have thought of. Would it be useful to add your explanation to this section? |
weaverryan commentedDec 17, 2013
Thanks Christian! I've merged this and added a few more details about what's going on behind the scenes with the handlers (sha:1beb526). If you see any issues, let me know or make a PR of course :). Cheers! |