Метод | Описание | |
---|---|---|
init ( ) : void | Initialize adapter | |
rollback ( string $version ) : boolean | Rollback | |
update ( ) : boolean | Update | |
upgrade ( ) : boolean | Upgrade |
Метод | Описание | |
---|---|---|
addDirectoryToZip ( ZipArchive $zip, string $directory, string[] $excludeDirectory = [] ) : ZipArchive | Add directory and children to zip | |
createBackup ( string $backupFilename ) : boolean | Create Backup |
protected addDirectoryToZip ( ZipArchive $zip, string $directory, string[] $excludeDirectory = [] ) : ZipArchive | ||
$zip | ZipArchive | Zip |
$directory | string | Directory |
$excludeDirectory | string[] | Exclude directory |
Результат | ZipArchive |
protected createBackup ( string $backupFilename ) : boolean | ||
$backupFilename | string | File name of the backup |
Результат | boolean |