anyx / LoginGateBundle

59 stars 23 forks source link

Fix the configuration of the service #2

Closed stof closed 8 years ago

stof commented 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

anyx commented 8 years ago

@stof thanks!