Skip to content

Commit b96705c

Browse files
committed
Reference method
1 parent bca536b commit b96705c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/form.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ Changing a Form's Method and Action
535535
By default, a form is submitted to the same URI that rendered the form with
536536
an HTTP POST request. This behavior can be changed using the :ref:`form-option-action`
537537
and :ref:`form-option-method` options (the ``method`` option is also used
538-
by ``handleRequest()`` to determine whether a form has been submitted):
538+
by :method:`Symfony\\Component\\Form\\Form::handleRequest` to determine whether a form has been submitted):
539539

540540
.. configuration-block::
541541

@@ -658,8 +658,8 @@ Then:
658658
3) if the form is valid, perform some action and redirect.
659659

660660
Luckily, you don't need to decide whether or not a form has been submitted.
661-
Just pass the current request to the ``handleRequest()`` method. Then, the Form
662-
component will do all the necessary work for you.
661+
Just pass the current request to the :method:`Symfony\\Component\\Form\\Form::handleRequest`
662+
method. Then, the Form component will do all the necessary work for you.
663663

664664
.. _component-form-intro-validation:
665665

0 commit comments

Comments
 (0)