Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class Noise |
||
6 | { |
||
7 | /** |
||
8 | * @var NoiseLevel |
||
9 | */ |
||
10 | private $level; |
||
11 | |||
12 | /** |
||
13 | * @var float |
||
14 | */ |
||
15 | private $value; |
||
16 | |||
17 | public function __construct(NoiseLevel $level, float $value) |
||
18 | { |
||
19 | $this->level = $level; |
||
20 | $this->value = $value; |
||
21 | } |
||
22 | |||
23 | public function getLevel(): NoiseLevel |
||
26 | } |
||
27 | |||
28 | public function getValue(): float |
||
33 |