| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class MetricAwareResult extends Result |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var integer |
||
| 9 | */ |
||
| 10 | private $metricValue; |
||
| 11 | |||
| 12 | private $metricUnit; |
||
| 13 | |||
| 14 | public function setMetric($value, $unit) |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return integer |
||
| 22 | */ |
||
| 23 | public function getMetricValue() |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function getMetricUnit() |
||
| 36 |