We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c2f341a + 698dbf5 commit 6a56498Copy full SHA for 6a56498
user_guide_src/source/libraries/validation.rst
@@ -343,6 +343,10 @@ For example, data returned by multi select dropdown:
343
withRequest()
344
=============
345
346
+.. important:: This method exists only for backward compatibility. Do not use it
347
+ in new projects. Even if you are already using it, we recommend that you use
348
+ another, more appropriate method.
349
+
350
.. warning:: If you want to validate POST data only, don't use ``withRequest()``.
351
This method uses :ref:`$request->getVar() <incomingrequest-getting-data>`
352
which returns ``$_GET``, ``$_POST`` or ``$_COOKIE`` data in that order
0 commit comments