DrupalKernel::getServiceProviders

public DrupalKernel::getServiceProviders($origin)

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.

Overrides DrupalKernelInterface::getServiceProviders

File

core/lib/Drupal/Core/DrupalKernel.php, line 615

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

public function getServiceProviders($origin) {
  return $this->serviceProviders[$origin];
}
doc_Drupal
2016-10-29 09:03:01
Comments
Leave a Comment

Please login to continue.