symfony/symfony — pull request #12112 by blanchonvincent (2014-10-03 09:35:49+00:00)
Title: [ContainerBuilder] Fix calls method for lazy loading

Currently, when a definition is marked as lazy, if the definition has some calls methods, the lazy become useless because the object is created. We need to call this method lazily.

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -