Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php \Drupal\Component\DependencyInjection\ContainerInterface::getServiceIdMappings()

Collect a mapping between service to ids.

Return value

array Service ids keyed by a unique hash.

Deprecated

in drupal:9.5.1 and is removed from drupal:11.0.0. Use the 'Drupal\Component\DependencyInjection\ReverseContainer' service instead.

See also

https://www.drupal.org/node/3327942

File

core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php, line 34

Class

ContainerInterface
The interface for Drupal service container classes.

Namespace

Drupal\Component\DependencyInjection

Code

public function getServiceIdMappings() : array;