\Acms\Services\Update\SystemPlaceFile

Class PlaceFile

Summary

Methods
Properties
Constants
__construct()
validate()
exec()
No public properties found
No constants found
backup()
updateFiles()
rollback()
removeSetup()
copyFiles()
$moveList
$exclusionMoveFile
$backupList
$logger
N/A
No private methods found
No private properties found
N/A

Properties

$moveList

$moveList : array

Type

array

$exclusionMoveFile

$exclusionMoveFile : array

Type

array

$backupList

$backupList : array

Type

array

Methods

validate()

validate(  $new_path,   $backup_dir) 

Validate

Parameters

$new_path
$backup_dir

Throws

\Exception

exec()

exec(  $new_path,   $backup_dir,   $new_setup = false) 

Run

Parameters

$new_path
$backup_dir
$new_setup

Throws

\Exception

backup()

backup(string  $backup_dir) 

Backup

Parameters

string $backup_dir

updateFiles()

updateFiles(string  $new_path, string  $backup_dir) 

System Update

Parameters

string $new_path
string $backup_dir

rollback()

rollback(string  $backup_dir) 

Rollback

Parameters

string $backup_dir

removeSetup()

removeSetup() 

Remove setup

copyFiles()

copyFiles(array  $list, string  $from_dir, string  $to_dir) 

Copy files

Parameters

array $list
string $from_dir
string $to_dir