1 | <?php |
||
28 | class KeyParser extends AbstractParser |
||
29 | { |
||
30 | /** |
||
31 | * Parses a .env key |
||
32 | * |
||
33 | * @param string $key The key string |
||
34 | * |
||
35 | * @throws \M1\Env\Exception\ParseException If key contains a character that isn't alphanumeric or a _ |
||
36 | * |
||
37 | * @return string|false The parsed key, or false if the key is a comment |
||
38 | */ |
||
39 | 54 | public function parse($key) |
|
57 | } |
||
58 |