Loader::loadDirect( string $content )

Directly load the given string.


Parameters

$content

(string) (Required)


Return

(Dotenvarray<string|Dotenvnull>)


Source

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

    public function loadDirect($content)
    {
        return $this->processEntries(
            Lines::process(preg_split("/(\r\n|\n|\r)/", $content))
        );
    }