HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 8.2.29
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
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;
    }
}