lib/Drupal/Component/DependencyInjection/Container.php 1 location
|
@@ 312-317 (lines=6) @@
|
| 309 |
|
} |
| 310 |
|
|
| 311 |
|
// Share the service if it is public. |
| 312 |
|
if (!isset($definition['public']) || $definition['public'] !== FALSE) { |
| 313 |
|
// Forward compatibility fix for Symfony 2.8 update. |
| 314 |
|
if (!isset($definition['shared']) || $definition['shared'] !== FALSE) { |
| 315 |
|
$this->services[$id] = $service; |
| 316 |
|
} |
| 317 |
|
} |
| 318 |
|
|
| 319 |
|
if (isset($definition['calls'])) { |
| 320 |
|
foreach ($definition['calls'] as $call) { |
lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php 1 location
|
@@ 144-149 (lines=6) @@
|
| 141 |
|
} |
| 142 |
|
|
| 143 |
|
// Share the service if it is public. |
| 144 |
|
if (!isset($definition['public']) || $definition['public'] !== FALSE) { |
| 145 |
|
// Forward compatibility fix for Symfony 2.8 update. |
| 146 |
|
if (!isset($definition['shared']) || $definition['shared'] !== FALSE) { |
| 147 |
|
$this->services[$id] = $service; |
| 148 |
|
} |
| 149 |
|
} |
| 150 |
|
|
| 151 |
|
if (isset($definition['calls'])) { |
| 152 |
|
foreach ($definition['calls'] as $call) { |