| 1 | <?php |
||
| 18 | class Php extends AbstractFileParser |
||
| 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 | * @since 0.1 |
||
| 27 | */ |
||
| 28 | 12 | public function parse($path) |
|
| 54 | |||
| 55 | /** |
||
| 56 | * {@inheritDoc} |
||
| 57 | * @since 0.1 |
||
| 58 | */ |
||
| 59 | 3 | public function getSupportedFileExtensions() |
|
| 63 | } |
||
| 64 | |||
| 66 |