By default a symfony 2 service gives a singleton. But in my case, I need a new object instance each time I call my service.
I look at the symfony 2 tutorial, the only thing I found is : "we'll learn later how you can configure a service that has multiple instances"...
What is the correct procedure for doing that?
You can use scope="prototype"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With