protected function ContainerBuilder::callMethod in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/dependency-injection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::callMethod()
- 8 core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php \Drupal\Core\DependencyInjection\ContainerBuilder::callMethod()
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php \Drupal\Core\DependencyInjection\ContainerBuilder::callMethod()
A 1to1 copy of parent::callMethod.
Overrides ContainerBuilder::callMethod
File
- core/
lib/ Drupal/ Core/ DependencyInjection/ ContainerBuilder.php, line 78 - 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])));
}