Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 71bb971

Browse files
committed
Merge pull request #2934 from xabbuh/issue-2933
fix versionadded directive for the submit() and handleRequests() methods
2 parents bf43001 + c55f3b0 commit 71bb971

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cookbook/form/direct_submit.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
How to use the submit() Function to handle Form Submissions
55
===========================================================
66

7-
.. versionadded::
8-
Before Symfony 2.3, the ``submit`` method was known as ``bind``.
7+
.. versionadded:: 2.3
8+
The ``handleRequest()`` method was added in Symfony 2.3.
99

1010
In Symfony 2.3, a new :method:`Symfony\Component\Form\FormInterface::handleRequest`
1111
method was added, which makes handling form submissions easier than ever::
@@ -39,6 +39,9 @@ method was added, which makes handling form submissions easier than ever::
3939
Calling Form::submit() manually
4040
-------------------------------
4141

42+
.. versionadded:: 2.3
43+
Before Symfony 2.3, the ``submit()`` method was known as ``bind()``.
44+
4245
In some cases, you want better control over when exactly your form is submitted
4346
and what data is passed to it. Instead of using the
4447
:method:`Symfony\Component\Form\FormInterface::handleRequest`

0 commit comments

Comments
 (0)