Closed stof closed 8 years ago
Getting the service definition and injecting it as argument will make Symfony inject a new instance defined the same way instead of using the same service instance.
Using a reference is the proper way
@stof thanks!
Getting the service definition and injecting it as argument will make Symfony inject a new instance defined the same way instead of using the same service instance.
Using a reference is the proper way