mirror of
https://github.com/Chouchen/Shikiryu_Backup.git
synced 2021-06-30 16:02:14 +02:00
23 lines
396 B
PHP
23 lines
396 B
PHP
|
<?php
|
||
|
|
||
|
namespace Shikiryu\Backup\Transport;
|
||
|
|
||
|
use Shikiryu\Backup\Backup\BackupAbstract;
|
||
|
|
||
|
abstract class TransportAbstract
|
||
|
{
|
||
|
|
||
|
protected $backup;
|
||
|
protected $config;
|
||
|
|
||
|
public function __construct(BackupAbstract $backup, array $config)
|
||
|
{
|
||
|
$this->config = $config;
|
||
|
$this->backup = $backup;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return bool
|
||
|
*/
|
||
|
public abstract function send();
|
||
|
}
|