Skip to content

Commit 2e2c245

Browse files
committed
feature #6243 Add missing getBoolean() method (bocharsky-bw)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #6243). Discussion ---------- Add missing getBoolean() method According to the [Symfony\Component\HttpFoundation\ParameterBag::getBoolean()](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/ParameterBag.php#L187-L190). Commits ------- cb8f241 Add missing getBoolean() method
2 parents 319998d + cb8f241 commit 2e2c245

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/http_foundation/introduction.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ has some methods to filter the input values:
125125
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getAlnum`
126126
Returns the alphabetic characters and digits of the parameter value;
127127

128+
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getBoolean`
129+
Returns the parameter value converted to boolean;
130+
128131
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getDigits`
129132
Returns the digits of the parameter value;
130133

0 commit comments

Comments
 (0)