You are here

interface ServiceManagerInterface in Backup and Migrate 5.0.x

Interface ServiceManagerInterface.

@package Drupal\backup_migrate\Core\Environment

Hierarchy

Expanded class hierarchy of ServiceManagerInterface

All classes that implement ServiceManagerInterface

1 file declares its use of ServiceManagerInterface
PluginManager.php in src/Core/Plugin/PluginManager.php

File

src/Core/Service/ServiceManagerInterface.php, line 10

Namespace

Drupal\backup_migrate\Core\Service
View source
interface ServiceManagerInterface {

  /**
   * Retrieve a service from the locator.
   *
   * @param string $type
   *   The service type identifier.
   *
   * @return mixed
   */
  public function get($type);

  /**
   * Get an array of keys for all available services.
   *
   * @return array
   */
  public function keys();

  /**
   * Inject the services in this locator into the given plugin.
   *
   * @param object $plugin
   *
   * @return mixed
   */
  public function addClient($plugin);

}

Members

Namesort descending Modifiers Type Description Overrides
ServiceManagerInterface::addClient public function Inject the services in this locator into the given plugin. 1
ServiceManagerInterface::get public function Retrieve a service from the locator. 1
ServiceManagerInterface::keys public function Get an array of keys for all available services. 1