public function ServiceManager::keys in Backup and Migrate 8.4
Get an array of keys for all available services.
Return value
array
Overrides ServiceManagerInterface::keys
1 call to ServiceManager::keys()
- ServiceManager::addClient in lib/
backup_migrate_core/ src/ Service/ ServiceManager.php - Inject all available services into the give plugin.
File
- lib/
backup_migrate_core/ src/ Service/ ServiceManager.php, line 75
Class
- ServiceManager
- A very simple service locator. Does not handle dependency injection but could be replaced by a more complex application specific version which does.
Namespace
BackupMigrate\Core\ServiceCode
public function keys() {
return array_keys($this->services);
}