lib/Drupal/Component/DependencyInjection/Container.php 1 location
|
@@ 333-340 (lines=8) @@
|
330 |
|
} |
331 |
|
} |
332 |
|
|
333 |
|
if (isset($definition['properties'])) { |
334 |
|
if ($definition['properties'] instanceof \stdClass) { |
335 |
|
$definition['properties'] = $this->resolveServicesAndParameters($definition['properties']); |
336 |
|
} |
337 |
|
foreach ($definition['properties'] as $key => $value) { |
338 |
|
$service->{$key} = $value; |
339 |
|
} |
340 |
|
} |
341 |
|
|
342 |
|
if (isset($definition['configurator'])) { |
343 |
|
$callable = $definition['configurator']; |
lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php 1 location
|
@@ 163-168 (lines=6) @@
|
160 |
|
} |
161 |
|
} |
162 |
|
|
163 |
|
if (isset($definition['properties'])) { |
164 |
|
$definition['properties'] = $this->resolveServicesAndParameters($definition['properties']); |
165 |
|
foreach ($definition['properties'] as $key => $value) { |
166 |
|
$service->{$key} = $value; |
167 |
|
} |
168 |
|
} |
169 |
|
|
170 |
|
if (isset($definition['configurator'])) { |
171 |
|
$callable = $definition['configurator']; |