protected function ContainerBuilder::callMethod in Service Container 7.2
Same name in this branch
- 7.2 lib/Drupal/Core/DependencyInjection/ContainerBuilder.php \Drupal\Core\DependencyInjection\ContainerBuilder::callMethod()
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::callMethod()
Same name and namespace in other branches
- 7 lib/Drupal/Core/DependencyInjection/ContainerBuilder.php \Drupal\Core\DependencyInjection\ContainerBuilder::callMethod()
A 1to1 copy of parent::callMethod.
Overrides ContainerBuilder::callMethod
1 call to ContainerBuilder::callMethod()
- ContainerBuilder::synchronize in lib/
Drupal/ Core/ DependencyInjection/ ContainerBuilder.php - Synchronizes a service change.
File
- lib/
Drupal/ Core/ DependencyInjection/ ContainerBuilder.php, line 105 - Contains \Drupal\Core\DependencyInjection\ContainerBuilder.
Class
- ContainerBuilder
- Drupal's dependency injection container builder.
Namespace
Drupal\Core\DependencyInjectionCode
protected function callMethod($service, $call) {
$services = self::getServiceConditionals($call[1]);
foreach ($services as $s) {
if (!$this
->has($s)) {
return;
}
}
call_user_func_array(array(
$service,
$call[0],
), $this
->resolveServices($this
->getParameterBag()
->resolveValue($call[1])));
}