-
Notifications
You must be signed in to change notification settings - Fork 80
_setAutoBackup
Fabian Hagen edited this page Aug 1, 2016
·
1 revision
Activate or deactivate the auto-backup function for the following functions:
- changeEnv()
- addData()
- deleteData()
If enabled these functions create a backup each time they are called. This method throws a DotEnvException if a wrong parameter is passed in.
$env = new DotenvEditor();
$env->setAutoBackup(true|false);