class BenchmarkData in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Command/BenchmarkData.php \Drupal\webprofiler\Command\BenchmarkData
- 8.2 webprofiler/src/Command/BenchmarkData.php \Drupal\webprofiler\Command\BenchmarkData
- 4.x webprofiler/src/Command/BenchmarkData.php \Drupal\webprofiler\Command\BenchmarkData
Class BenchmarkData
Hierarchy
- class \Drupal\webprofiler\Command\BenchmarkData
Expanded class hierarchy of BenchmarkData
File
- webprofiler/
src/ Command/ BenchmarkData.php, line 8
Namespace
Drupal\webprofiler\CommandView source
class BenchmarkData {
/**
* @var
*/
private $token;
/**
* @var
*/
private $memory;
/**
* @var
*/
private $time;
/**
* @param $token
* @param $memory
* @param $time
*/
public function __construct($token, $memory, $time) {
$this->token = $token;
$this->memory = $memory;
$this->time = $time;
}
/**
* @return mixed
*/
public function getToken() {
return $this->token;
}
/**
* @return mixed
*/
public function getMemory() {
return $this->memory;
}
/**
* @return mixed
*/
public function getTime() {
return $this->time;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BenchmarkData:: |
private | property | @var | |
BenchmarkData:: |
private | property | @var | |
BenchmarkData:: |
private | property | @var | |
BenchmarkData:: |
public | function | ||
BenchmarkData:: |
public | function | ||
BenchmarkData:: |
public | function | ||
BenchmarkData:: |
public | function |