use handleRequest() instead of bind()#2974
Conversation
xabbuh
commented
Sep 13, 2013
| Q | A |
|---|---|
| Doc fix? | yes |
| New docs? | no |
| Applies to | 2.3+ |
| Fixed tickets | #2969 |
|
#2965 should be merged before this. |
|
-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.
you should keep the information about the HttpFoundation integration too
|
So, if I understand this correctly, you'd pass the superglobals (i.e. |
|
@xabbuh No, when using the NativeRequestHandler, you call it without argument (or with |
|
Thanks for the clarification. Think I got it. But, where is the advantage on using the |
|
@xabbuh see the chapter of the doc describing the advantages of HttpFoundation or http://blog.servergrove.com/2013/09/23/symfony2-components-overview-httpfoundation/ for instance. |
|
That makes sense. Should have thought of. Would it be useful to add your explanation to this section? |
|
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! |