Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/worker/src/MWP/Incremen.../Model
File: FetchFilesResult.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* This file is part of the ManageWP Worker plugin.
[2] Fix | Delete
*
[3] Fix | Delete
* (c) ManageWP LLC <contact@managewp.com>
[4] Fix | Delete
*
[5] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[6] Fix | Delete
* file that was distributed with this source code.
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
class MWP_IncrementalBackup_Model_FetchFilesResult
[10] Fix | Delete
{
[11] Fix | Delete
[12] Fix | Delete
/**
[13] Fix | Delete
* @var MWP_IncrementalBackup_Model_File[]
[14] Fix | Delete
*/
[15] Fix | Delete
private $files = array();
[16] Fix | Delete
[17] Fix | Delete
/**
[18] Fix | Delete
* @var MWP_IncrementalBackup_Model_ServerStatistics
[19] Fix | Delete
*/
[20] Fix | Delete
private $serverStatistics;
[21] Fix | Delete
[22] Fix | Delete
function __construct()
[23] Fix | Delete
{
[24] Fix | Delete
}
[25] Fix | Delete
[26] Fix | Delete
/**
[27] Fix | Delete
* @return MWP_IncrementalBackup_Model_File[]
[28] Fix | Delete
*/
[29] Fix | Delete
public function getFiles()
[30] Fix | Delete
{
[31] Fix | Delete
return $this->files;
[32] Fix | Delete
}
[33] Fix | Delete
[34] Fix | Delete
/**
[35] Fix | Delete
* @param MWP_IncrementalBackup_Model_File[] $files
[36] Fix | Delete
*/
[37] Fix | Delete
public function setFiles($files)
[38] Fix | Delete
{
[39] Fix | Delete
$this->files = $files;
[40] Fix | Delete
}
[41] Fix | Delete
[42] Fix | Delete
/**
[43] Fix | Delete
* @param MWP_IncrementalBackup_Model_File $file
[44] Fix | Delete
*/
[45] Fix | Delete
public function addFile(MWP_IncrementalBackup_Model_File $file)
[46] Fix | Delete
{
[47] Fix | Delete
$this->files[] = $file;
[48] Fix | Delete
}
[49] Fix | Delete
[50] Fix | Delete
/**
[51] Fix | Delete
* @return MWP_IncrementalBackup_Model_ServerStatistics
[52] Fix | Delete
*/
[53] Fix | Delete
public function getServerStatistics()
[54] Fix | Delete
{
[55] Fix | Delete
return $this->serverStatistics;
[56] Fix | Delete
}
[57] Fix | Delete
[58] Fix | Delete
/**
[59] Fix | Delete
* @param MWP_IncrementalBackup_Model_ServerStatistics $serverStatistics
[60] Fix | Delete
*/
[61] Fix | Delete
public function setServerStatistics($serverStatistics)
[62] Fix | Delete
{
[63] Fix | Delete
$this->serverStatistics = $serverStatistics;
[64] Fix | Delete
}
[65] Fix | Delete
}
[66] Fix | Delete
[67] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function