bug #14446 [DependencyInjection] resolve circular reference (xabbuh)
This PR was merged into the 2.6 branch. Discussion ---------- [DependencyInjection] resolve circular reference | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #11422, #14445 | License | MIT | Doc PR | This issue has been fixed in #11422. Due to a bad merge in3bed1b7988
it partially appeared again in Symfony 2.6 or higher. Commits -------8b3b3ce
[DependencyInjection] resolve circular reference
This commit is contained in:
commit
7c5337367a
@ -86,8 +86,6 @@ class Container implements IntrospectableContainerInterface
|
|||||||
public function __construct(ParameterBagInterface $parameterBag = null)
|
public function __construct(ParameterBagInterface $parameterBag = null)
|
||||||
{
|
{
|
||||||
$this->parameterBag = $parameterBag ?: new ParameterBag();
|
$this->parameterBag = $parameterBag ?: new ParameterBag();
|
||||||
|
|
||||||
$this->set('service_container', $this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user