From cb8f24148d81f50dd52f132f2722bc59887e2386 Mon Sep 17 00:00:00 2001 From: Victor Bocharsky Date: Sun, 7 Feb 2016 21:16:57 +0200 Subject: [PATCH 1/2] Add missing getBoolean() method --- components/http_foundation/introduction.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/http_foundation/introduction.rst b/components/http_foundation/introduction.rst index 8ddf68fa2d4..08e1ce7d07d 100644 --- a/components/http_foundation/introduction.rst +++ b/components/http_foundation/introduction.rst @@ -125,6 +125,9 @@ has some methods to filter the input values: :method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getAlnum` Returns the alphabetic characters and digits of the parameter value; +:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getBoolean` + Returns the parameter value converted to boolean; + :method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getDigits` Returns the digits of the parameter value; From 533178378879aa2890d56dcef845b1117b3985d8 Mon Sep 17 00:00:00 2001 From: WouterJ Date: Mon, 8 Feb 2016 10:55:54 +0100 Subject: [PATCH 2/2] [#6243] Add versionadded directive --- components/http_foundation/introduction.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/http_foundation/introduction.rst b/components/http_foundation/introduction.rst index 08e1ce7d07d..196f84d68ee 100644 --- a/components/http_foundation/introduction.rst +++ b/components/http_foundation/introduction.rst @@ -128,6 +128,9 @@ has some methods to filter the input values: :method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getBoolean` Returns the parameter value converted to boolean; + .. versionadded:: 2.6 + The ``getBoolean()`` method was introduced in Symfony 2.6. + :method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getDigits` Returns the digits of the parameter value;