ReverseContainer::$getServiceId

Same name in other branches
  1. 9 core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php \Drupal\Component\DependencyInjection\ReverseContainer::getServiceId
  2. 10 core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php \Drupal\Component\DependencyInjection\ReverseContainer::getServiceId

A closure on the container that can search for services.

Type: \Closure

File

core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php, line 20

Class

ReverseContainer
Retrieves service IDs from the container for public services.

Namespace

Drupal\Component\DependencyInjection

Code

private \Closure $getServiceId;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.