While reading [going oop with the httpfoundation component](https://symfony.com/doc/current/create_framework/http_foundation.html#going-oop-with-the-httpfoundation-component), I saw that `$request->attributes->get('name', 'World')` is used instead of `$request->query->get('name', 'World')`. It seems it has been introduced in [Deprecate the Request::get() method PR](https://github.com/symfony/symfony-docs/pull/15610/files)