You are here

public function StorageManager::getStorages in XHProf 8

Return value

array

File

src/XHProfLib/Storage/StorageManager.php, line 18

Class

StorageManager
Provides service to collect available storage services.

Namespace

Drupal\xhprof\XHProfLib\Storage

Code

public function getStorages() {
  $output = [];
  foreach ($this->storages as $id => $storage) {
    $output[$id] = $storage
      ->getName();
  }
  return $output;
}