| 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 | public function __debugInfo() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @inheritDoc |
||
| 38 | */ |
||
| 39 | 12 | public function getType() : ?string |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @inheritDoc |
||
| 46 | */ |
||
| 47 | 12 | public function getValue() : ?float |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @return bool |
||
| 54 | */ |
||
| 55 | public function valid() : bool |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @inheritDoc |
||
| 62 | */ |
||
| 63 | 3 | public function getNDeviation() : NDeviationInterface |
|
| 67 | } |
||
| 68 |