1 | <?php |
||
21 | class Number extends Text |
||
22 | 1 | { |
|
23 | /** @var string */ |
||
24 | protected $condition; |
||
25 | |||
26 | /** |
||
27 | * @return \Nette\Forms\Controls\TextInput |
||
28 | */ |
||
29 | protected function getFormControl() |
||
38 | |||
39 | /** |
||
40 | * @param string $value |
||
41 | * @return Condition|bool |
||
42 | * @throws \Exception |
||
43 | * @internal |
||
44 | */ |
||
45 | public function __getCondition($value) |
||
64 | } |
||
65 |