Skip to content
Ozan Kurt edited this page Mar 3, 2019 · 5 revisions

This function returns the current set backup directory for your .env-backups.

$env = new DotenvEditor();
echo $env->getBackupPath();

Returns: "/path/to/your/backup/folder/"