Parser::parse( string $entry )

Parse the given environment variable entry into a name and value.


Parameters

$entry

(Required)


Return

(array)


Source

File: vendor/vlucas/phpdotenv/src/Parser.php

    public static function parse($entry)
    {
        list($name, $value) = self::splitStringIntoParts($entry);

        return [self::parseName($name), self::parseValue($value)];
    }