1 | <?php |
||
10 | class FloatHandler implements HandlerInterface |
||
11 | { |
||
12 | /** @var array $mapping parser result mapping */ |
||
13 | private $mapping; |
||
14 | |||
15 | /** |
||
16 | * constructor |
||
17 | */ |
||
18 | 107 | public function __construct() |
|
26 | |||
27 | /** |
||
28 | * parse given `$source` as PHP serialized float number |
||
29 | * |
||
30 | * @param Source $source parser input |
||
31 | * @param string $args float value |
||
32 | * @return array |
||
33 | * @throws UnserializeFailedException |
||
34 | */ |
||
35 | 15 | public function handle(Source $source, $args) |
|
42 | } |
||
43 |