qtools_profiler-8.x-1.x-dev/src/XHProfLib/Storage/StorageInterface.php
src/XHProfLib/Storage/StorageInterface.php
<?php
namespace Drupal\qtools_profiler\XHProfLib\Storage;
/**
* Interface StorageInterface
*/
interface StorageInterface {
/**
* @return mixed
*/
public function getRuns();
/**
* @param string $run_id
* @param string $namespace
*
* @return array
*/
public function getRun($run_id, $namespace);
/**
* @param array $data
* @param string $namespace
* @param string $run_id
*
* @return string
*/
public function saveRun($data, $namespace, $run_id);
/**
* @return string
*/
public function getName();
}
