![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
![Diving into Symfony's DependencyInjection — Part 1: First steps with the container | by Alex Makdessi | ManoMano Tech team | Medium Diving into Symfony's DependencyInjection — Part 1: First steps with the container | by Alex Makdessi | ManoMano Tech team | Medium](https://miro.medium.com/max/1400/1*KdksJhFUkSgIgw3UOYSWpw.png)
Diving into Symfony's DependencyInjection — Part 1: First steps with the container | by Alex Makdessi | ManoMano Tech team | Medium
HttpFoundation] ParameterBag::getEnum() by nikophil · Pull Request #48820 · symfony/symfony · GitHub
HttpFoundation] Add `ParameterBag::getString` and add 3rd argument to make `getInt` more strict by GromNaN · Pull Request #48525 · symfony/symfony · GitHub
![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)