EnvParser class
Framework\Config\Parsers\EnvParser
Class EnvParser.
Extends Framework\Config\Parsers\Parser
Defined in libraries/config/src/Parsers/EnvParser.php
Methods #
- parse()
- Parses an .ENV file.
parse()
public static function parse(mixed $config): array
Parses an .ENV file.
Parameters
- mixed $config - Path to the .ENV file.
Returns
array
- The .ENV parsed data
Inherited methods #
-
parseOrThrow()fromFramework\Config\Parsers\Parser -
checkConfig()fromFramework\Config\Parsers\Parser -
addChild()fromFramework\Config\Parsers\Parser -
getValue()fromFramework\Config\Parsers\Parser -
ksortRecursive()fromFramework\Config\Parsers\Parser