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