Skip to main content

parse

Function parse 

Source
pub fn parse(source: &str, file: &str) -> Result<BTreeMap<String, String>>
Expand description

Parse .env text into ordered key/value pairs.

Interpolation resolves against earlier entries in the same file first, then the process environment — the same precedence Laravel’s loader uses.