You are here

public function DrupalKernelInterface::getServiceProviders in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::getServiceProviders()

Returns all registered service providers.

Parameters

string $origin: The origin for which to return service providers; one of 'app' or 'site'.

Return value

array An associative array of ServiceProvider objects, keyed by name.

1 method overrides DrupalKernelInterface::getServiceProviders()
DrupalKernel::getServiceProviders in core/lib/Drupal/Core/DrupalKernel.php
Returns all registered service providers.

File

core/lib/Drupal/Core/DrupalKernelInterface.php, line 56

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function getServiceProviders($origin);