1 | <?php declare(strict_types=1); |
||
16 | final class FloatType implements Type |
||
17 | { |
||
18 | /** @var float */ |
||
19 | private $value; |
||
20 | |||
21 | |||
22 | 4 | public function __construct(float $value) |
|
26 | |||
27 | 1 | public function get(): float |
|
31 | |||
32 | 1 | public function set(float $value): void |
|
36 | |||
37 | 2 | public function __toString(): string |
|
41 | } |