I have a service defined with several dependency injections in the constructor. At some point I want to get the service as a new instance instead of the same instance already created. Note that normally I want the service to be shared, but on an edge case I want to create a new instance, so the shared option in the service definition is not aplicable.
I can create a new object, but I then I would have to inject the dependencies manually, and I would prefer to let symfony to deal with it.
So how can I tell Symfony to return a service as a new instance?
Thank you.