e587c90ed432c792f028b2323c3311c8fae7dfa7
[yaffs-website] / web / modules / contrib / devel / webprofiler / src / Command / BenchmarkData.php
1 <?php
2
3 namespace Drupal\webprofiler\Command;
4
5 /**
6  * Class BenchmarkData
7  */
8 class BenchmarkData {
9
10   /**
11    * @var
12    */
13   private $token;
14
15   /**
16    * @var
17    */
18   private $memory;
19
20   /**
21    * @var
22    */
23   private $time;
24
25   /**
26    * @param $token
27    * @param $memory
28    * @param $time
29    */
30   public function __construct($token, $memory, $time) {
31     $this->token = $token;
32     $this->memory = $memory;
33     $this->time = $time;
34   }
35
36   /**
37    * @return mixed
38    */
39   public function getToken() {
40     return $this->token;
41   }
42
43   /**
44    * @return mixed
45    */
46   public function getMemory() {
47     return $this->memory;
48   }
49
50   /**
51    * @return mixed
52    */
53   public function getTime() {
54     return $this->time;
55   }
56
57 }