Does Symfony 2 have support for
PATCHrequests, or any type of partial form content submissions? If so, is there a "correct" (or, more accurately "preferred") way to do this?
Aside from the
PRE_BIND(see below) event approach, are there any other patterns or ways to solve this problem? If there are other ways of solving this problem, are any of them considered better, or worse, than others?
What I've found/done so far: According to a pull request on Github (#5576), work was done to support partial form bindings in Symfony 2 (from my understanding, targeting Symfony 2.2). However, I can't find any documentation or examples outside of that pull request that indicate how to use partial form bindings.
One solution that I've found may suit my purposes. The approach is to attach an event subscriber to the
PRE_BIND event for a form type, a cursory search of stackoverflow yielded the following answer which is similar to one I'm currently employing: https://stackoverflow.com/a/11687863/657674.