1 | <?php |
||
4 | class NDeviation implements NDeviationInterface, NDeviationProviderInterface |
||
5 | { |
||
6 | |||
7 | /** |
||
8 | * @var float|null |
||
9 | */ |
||
10 | public $ndeviation; |
||
11 | |||
12 | /** |
||
13 | * @var string|null |
||
14 | */ |
||
15 | public $type; |
||
16 | |||
17 | |||
18 | /** |
||
19 | * @param float $ndeviation Zone system N deviation value |
||
20 | * @param string|null $type Optional: Short description |
||
21 | */ |
||
22 | 15 | public function __construct( ?float $ndeviation, string $type = null) |
|
27 | |||
28 | /** |
||
29 | * @return mixed[] |
||
30 | */ |
||
31 | public function __debugInfo() : array |
||
38 | |||
39 | 12 | /** |
|
40 | * @inheritDoc |
||
41 | 12 | */ |
|
42 | public function getType() : ?string |
||
46 | |||
47 | 12 | /** |
|
48 | * @inheritDoc |
||
49 | 12 | */ |
|
50 | public function getValue() : ?float |
||
54 | |||
55 | /** |
||
56 | * @return bool |
||
57 | */ |
||
58 | public function valid() : bool |
||
62 | |||
63 | 3 | /** |
|
64 | * @inheritDoc |
||
65 | 3 | */ |
|
66 | public function getNDeviation() : NDeviationInterface |
||
70 | } |
||
71 |