ServiceManagerInterface.php in Backup and Migrate 5.0.x
Namespace
Drupal\backup_migrate\Core\ServiceFile
src/Core/Service/ServiceManagerInterface.phpView source
<?php
namespace Drupal\backup_migrate\Core\Service;
/**
* Interface ServiceManagerInterface.
*
* @package Drupal\backup_migrate\Core\Environment
*/
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);
}
Interfaces
Name | Description |
---|---|
ServiceManagerInterface | Interface ServiceManagerInterface. |