Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
24 | class ValidateFloat extends Validator |
||
25 | { |
||
26 | /** |
||
27 | * Private |
||
28 | * $text the string to validate |
||
29 | */ |
||
30 | public $text; |
||
31 | public $forceentry; |
||
32 | //! A constructor. |
||
33 | |||
34 | /** |
||
35 | * Constructs a new ValidateFloat object subclass or Validator |
||
36 | * @param string $text |
||
37 | * @param bool $forceentry |
||
38 | */ |
||
39 | public function __construct(string $text, bool $forceentry = false) |
||
44 | } |
||
45 | |||
46 | //! A manipulator |
||
47 | |||
48 | /** |
||
49 | * Validates a float number |
||
50 | */ |
||
51 | public function validate() |
||
58 |