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