interface ServiceManagerInterface in Backup and Migrate 8.4
Interface ServiceManagerInterface.
@package BackupMigrate\Core\Environment
Hierarchy
- interface \BackupMigrate\Core\Service\ServiceManagerInterface
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\ServiceView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServiceManagerInterface:: |
public | function | Inject the services in this locator into the given plugin. | 1 |
ServiceManagerInterface:: |
public | function | Retrieve a service from the locator. | 1 |
ServiceManagerInterface:: |
public | function | Get an array of keys for all available services. | 1 |