Total Complexity | 5 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | final class Measurement |
||
8 | { |
||
9 | private float $value; |
||
10 | |||
11 | private Tags $tags; |
||
12 | |||
13 | public function __construct(float $value, Tags $tags) |
||
17 | } |
||
18 | |||
19 | public function __toString(): string |
||
22 | } |
||
23 | |||
24 | public static function fromString(string $string): Measurement |
||
29 | } |
||
30 | |||
31 | public function value(): float |
||
34 | } |
||
35 | |||
36 | public function tags(): Tags |
||
41 |