| 1 | <?php |
||
| 18 | class Toml implements ParserInterface |
||
| 19 | {
|
||
| 20 | /** |
||
| 21 | * {@inheritDoc}
|
||
| 22 | */ |
||
| 23 | public static function getSupportedExtensions() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritDoc}
|
||
| 30 | * Loads a TOML file as an array |
||
| 31 | * |
||
| 32 | * @throws ParseException If there is an error parsing the TOML file |
||
| 33 | */ |
||
| 34 | public function parseFile($filename) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritDoc}
|
||
| 50 | * Loads a TOML string as an array |
||
| 51 | * |
||
| 52 | * @throws ParseException If there is an error parsing the TOML string |
||
| 53 | */ |
||
| 54 | public function parseString($config) |
||
| 67 | } |