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

Breadcrumb

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

function ServiceLoader::__construct

Parameters

class-string<S> $service:

list<class-string> $providers:

File

vendor/tbachert/spi/src/ServiceLoader.php, line 36

Class

ServiceLoader
Service provider loading facility.

Namespace

Nevay\SPI

Code

private function __construct(string $service, array $providers) {
    $this->service = $service;
    $this->providers = $providers;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal