You are here

public function StorageManager::addStorage in XHProf 8

Parameters

\Drupal\xhprof\XHProfLib\Storage\StorageInterface $storage:

See also

\Drupal\xhprof\Compiler\StoragePass::process()

File

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

Class

StorageManager
Provides service to collect available storage services.

Namespace

Drupal\xhprof\XHProfLib\Storage

Code

public function addStorage($id, StorageInterface $storage) {
  $this->storages[$id] = $storage;
}