public function ServiceManager::get in Backup and Migrate 5.0.x
Retrieve a service from the locator.
Parameters
string $type: The service type identifier.
Return value
mixed
Overrides ServiceManagerInterface::get
1 call to ServiceManager::get()
- ServiceManager::addClient in src/
Core/ Service/ ServiceManager.php - Inject all available services into the give plugin.
File
- src/
Core/ Service/ ServiceManager.php, line 64
Class
- ServiceManager
- A very simple service locator.
Namespace
Drupal\backup_migrate\Core\ServiceCode
public function get($type) {
return $this->services[$type];
}