![php - Object of class Symfony\Component\HttpFoundation\ParameterBag could not be converted to string - Stack Overflow php - Object of class Symfony\Component\HttpFoundation\ParameterBag could not be converted to string - Stack Overflow](https://i.stack.imgur.com/98mOu.jpg)
php - Object of class Symfony\Component\HttpFoundation\ParameterBag could not be converted to string - Stack Overflow
![Symfony 6] Use Symfony\Component\HttpFoundation\InputBag where appropriate instead of ParameterBag [#3162981] | Drupal.org Symfony 6] Use Symfony\Component\HttpFoundation\InputBag where appropriate instead of ParameterBag [#3162981] | Drupal.org](https://www.drupal.org/files/issues/2021-12-14/documentation.png)
Symfony 6] Use Symfony\Component\HttpFoundation\InputBag where appropriate instead of ParameterBag [#3162981] | Drupal.org
![ParameterBag get method autocomplete and warning · Issue #1706 · Haehnchen/idea-php-symfony2-plugin · GitHub ParameterBag get method autocomplete and warning · Issue #1706 · Haehnchen/idea-php-symfony2-plugin · GitHub](https://user-images.githubusercontent.com/1011712/166745472-e48da4bc-8fd2-40f0-b551-efbb59fcda5f.png)
ParameterBag get method autocomplete and warning · Issue #1706 · Haehnchen/idea-php-symfony2-plugin · GitHub
HttpFoundation] Add `ParameterBag::getString` and add 3rd argument to make `getInt` more strict by GromNaN · Pull Request #48525 · symfony/symfony · GitHub
![Symfony News on Twitter: "This proposal about "typed properties" created by @nikita_ppv could be a game changer for PHP: https://t.co/RFem5P5xFM https://t.co/vEqgoP3GfY" / Twitter Symfony News on Twitter: "This proposal about "typed properties" created by @nikita_ppv could be a game changer for PHP: https://t.co/RFem5P5xFM https://t.co/vEqgoP3GfY" / Twitter](https://pbs.twimg.com/media/DgMhd2kWAAUMB73.jpg:large)