Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ServiceLocator.php

function ServiceLocator::getProvidedServices

Overrides ServiceLocatorTrait::getProvidedServices

File

vendor/symfony/dependency-injection/Argument/ServiceLocator.php, line 40

Class

ServiceLocator
@author Nicolas Grekas <p@tchwork.com>

Namespace

Symfony\Component\DependencyInjection\Argument

Code

public function getProvidedServices() : array {
    return $this->serviceTypes ??= array_map(fn() => '?', $this->serviceMap);
}
RSS feed
Powered by Drupal