| 1 | <?php |
||
| 10 | class StringHandler implements HandlerInterface |
||
| 11 | { |
||
| 12 | /** @var integer */ |
||
| 13 | const CLOSE_STRING_LENGTH = 2; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * parse give `$source` as PHP serialized string |
||
| 17 | * |
||
| 18 | * @param Source $source parser input |
||
| 19 | * @param string $args string length |
||
| 20 | * @return array parser result |
||
| 21 | * @throws UnserializeFailedException |
||
| 22 | */ |
||
| 23 | 10 | public function handle(Source $source, $args) |
|
| 31 | } |
||
| 32 |