Skip to content
Fabian Hagen edited this page Aug 1, 2016 · 1 revision

Return true if auto-backup is enabled. Otherwise it returns false.

$env = new DotenvEditor();
if(!$env->AutoBackupEnabled()){
    $env->setAutoBackup(true);
}