https://symfony.com/doc/5.x/service_container/calls.html
Tip If you're using autowiring, you can use #[Required] or @required to automatically configure method calls. Usually, you'll want to inject your dependencies...
method callsservicesetterinjectionsymfony