| Total Complexity | 3 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | class ExpressionParser implements ParserInterface |
||
| 11 | { |
||
| 12 | /** @var array $handlers handlers list to use */ |
||
| 13 | private $handlers; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * constructor |
||
| 17 | */ |
||
| 18 | 109 | public function __construct() |
|
| 28 | ); |
||
| 29 | 109 | } |
|
| 30 | |||
| 31 | /** |
||
| 32 | * parse given `$source` as PHP serialized value |
||
| 33 | * |
||
| 34 | * @param Source $source parser input |
||
| 35 | * @return array |
||
| 36 | * @throws UnserializeFailedException |
||
| 37 | */ |
||
| 38 | 109 | public function parse(Source $source) |
|
| 57 |