You are here

class BenchmarkData in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Command/BenchmarkData.php \Drupal\webprofiler\Command\BenchmarkData
  2. 8 webprofiler/src/Command/BenchmarkData.php \Drupal\webprofiler\Command\BenchmarkData
  3. 8.2 webprofiler/src/Command/BenchmarkData.php \Drupal\webprofiler\Command\BenchmarkData

Class BenchmarkData.

Hierarchy

Expanded class hierarchy of BenchmarkData

File

webprofiler/src/Command/BenchmarkData.php, line 8

Namespace

Drupal\webprofiler\Command
View 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

Namesort descending Modifiers Type Description Overrides
BenchmarkData::$memory private property @var
BenchmarkData::$time private property @var
BenchmarkData::$token private property @var
BenchmarkData::getMemory public function
BenchmarkData::getTime public function
BenchmarkData::getToken public function
BenchmarkData::__construct public function