ReverseContainer::$getServiceId

Same name in other branches
  1. 10 core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php \Drupal\Component\DependencyInjection\ReverseContainer::getServiceId
  2. 11.x 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 27

Class

ReverseContainer
Retrieves service IDs from the container for public services.

Namespace

Drupal\Component\DependencyInjection

Code

private $getServiceId;

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