Skip to content
Ramon Ribeiro edited this page Jan 22, 2020 · 2 revisions

Returns the content of the given backup or the current .env.

$env = new DotenvEditor();
$output = $env->getContent();

foreach ($output as $key => $value) {
  echo $key . '-' . $value;
}