| 1 | <?php |
||
| 8 | class FloatType implements TypeInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var TypeInterface |
||
| 12 | */ |
||
| 13 | private static $instance; |
||
| 14 | |||
| 15 | public static function getType() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Filter a value to be a Float |
||
| 26 | * |
||
| 27 | * @param string $value |
||
| 28 | * @param null $annotation Unused |
||
| 29 | * @throws \Minime\Annotations\ParserException |
||
| 30 | * @return float |
||
| 31 | */ |
||
| 32 | public function parse($value, $annotation = null) |
||
| 40 | |||
| 41 | } |
||
| 42 |