File: /home/grainesdfo/www/wp-content/plugins/backwpup/inc/class-destination-downloader-data.php
<?php
// -*- coding: utf-8 -*-
/**
* Class BackWpUp_Destination_Downloader_Data.
*/
class BackWpUp_Destination_Downloader_Data
{
/**
* @var int
*/
private $job_id;
/**
* @var string
*/
private $local_file_path;
/**
* @var string
*/
private $source_file_path;
/**
* BackWpUp_Destination_Downloader_Data constructor.
*
* @param int $job_id
* @param string $source_file_path
* @param string $local_file_path
*/
public function __construct($job_id, $source_file_path, $local_file_path)
{
$this->job_id = $job_id;
$this->source_file_path = $source_file_path;
$this->local_file_path = $local_file_path;
}
/**
* @return mixed
*/
public function job_id()
{
return $this->job_id;
}
/**
* Retrieve the local file path, where the backup have to be downloaded.
*
* @return string
*/
public function local_file_path()
{
return $this->local_file_path;
}
/**
* Retrieve the remote/source file path of the backup.
*
* @return string
*/
public function source_file_path()
{
return $this->source_file_path;
}
}