1 | <?php |
||
18 | class Php implements FileParserInterface |
||
19 | { |
||
20 | /** |
||
21 | * {@inheritDoc} |
||
22 | * Loads a PHP file and gets its' contents as an array |
||
23 | * |
||
24 | * @throws ParseException If the PHP file throws an exception |
||
25 | * @throws UnsupportedFormatException If the PHP file does not return an array |
||
26 | */ |
||
27 | 12 | public function parse($path) |
|
53 | |||
54 | /** |
||
55 | * {@inheritDoc} |
||
56 | */ |
||
57 | 3 | public static function getSupportedExtensions() |
|
61 | } |
||
62 |