8000 Removed doc about getting original parameter value from ParameterBag by edefimov · Pull Request #6080 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Removed doc about getting original parameter value from ParameterBag #6080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removed old behaviour note
  • Loading branch information
edefimov committed Dec 28, 2015
commit c1eb4f8f16d63c6ca03f47a1a8443eec6d4989fa
13 changes: 1 addition & 12 deletions components/http_foundation/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,7 @@ When PHP imports the request query, it handles request parameters like
// returns array('bar' => 'bar')

$request->query->get('foo[bar]');
// returns null

.. versionadded:: 3.0
It is no longer possible to get the value of "original" parameter ``foo[bar]``.
Prior, you were able to do this via the third argument of
:method:`Symfony\\Component\\HttpFoundation\\Request::get`:

.. code-block:: php

$request->query->get('foo[bar]', null, true);
// returns 'bar'

// returns null

.. _component-foundation-attributes:

Expand Down
0