AutoUpdaterBackup
in package
Class AutoUpdaterBackup
Table of Contents
- $creationDate : string
- $directoryPath : string
- $id : string
- $newUpdateFiles : array<string|int, mixed>
- $receiptFile : string
- $updateName : array<string|int, mixed>
- __construct() : mixed
- AutoUpdaterUpdate constructor.
- createFromDataCache() : AutoUpdaterBackup
- Creates and returns a new instance of this class.
- creationDate() : string
- Returns the creation date of this backup.
- directoryPath() : array<string|int, mixed>|string
- Returns the path of the directory with the backup files.
- id() : string
- Returns the id of this backup.
- newUpdateFiles() : array<string|int, mixed>
- Returns a list of new files, that came with the related update.
- receiptFile() : string
- Returns the receipt filename of the related update.
- updateName() : array<string|int, mixed>|string
- Returns the update name of the related update.
Properties
$creationDate
protected
string
$creationDate
$directoryPath
protected
string
$directoryPath
$id
protected
string
$id
$newUpdateFiles
protected
array<string|int, mixed>
$newUpdateFiles
$receiptFile
protected
string
$receiptFile
$updateName
protected
array<string|int, mixed>
$updateName
Methods
__construct()
AutoUpdaterUpdate constructor.
public
__construct(string $id, string $receiptFile, string $directoryPath, array<string|int, mixed> $updateName, string $creationDate, array<string|int, mixed> $newUpdateFiles) : mixed
Parameters
- $id : string
- $receiptFile : string
- $directoryPath : string
- $updateName : array<string|int, mixed>
- $creationDate : string
- $newUpdateFiles : array<string|int, mixed>
Return values
mixed —createFromDataCache()
Creates and returns a new instance of this class.
public
static createFromDataCache(mixed $id, array<string|int, mixed> $cacheData) : AutoUpdaterBackup
Parameters
- $id : mixed
- $cacheData : array<string|int, mixed>
Return values
AutoUpdaterBackup —creationDate()
Returns the creation date of this backup.
public
creationDate() : string
Return values
string —directoryPath()
Returns the path of the directory with the backup files.
public
directoryPath() : array<string|int, mixed>|string
Return values
array<string|int, mixed>|string —id()
Returns the id of this backup.
public
id() : string
Return values
string —newUpdateFiles()
Returns a list of new files, that came with the related update.
public
newUpdateFiles() : array<string|int, mixed>
Return values
array<string|int, mixed> —receiptFile()
Returns the receipt filename of the related update.
public
receiptFile() : string
Return values
string —updateName()
Returns the update name of the related update.
public
updateName([null|string $language = null ]) : array<string|int, mixed>|string
Parameters
- $language : null|string = null