You are here

interface ServiceManagerInterface in Backup and Migrate 8.4

Interface ServiceManagerInterface.

@package BackupMigrate\Core\Environment

Hierarchy

Expanded class hierarchy of ServiceManagerInterface

All classes that implement ServiceManagerInterface

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

File

lib/backup_migrate_core/src/Service/ServiceManagerInterface.php, line 10

Namespace

BackupMigrate\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