ServiceManagerInterface.php in Backup and Migrate 8.4
Namespace
BackupMigrate\Core\ServiceFile
lib/backup_migrate_core/src/Service/ServiceManagerInterface.phpView source
<?php
namespace BackupMigrate\Core\Service;
/**
* Interface ServiceManagerInterface.
*
* @package BackupMigrate\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. |