mirror of
https://github.com/Chouchen/Shikiryu_Backup.git
synced 2021-06-30 16:02:14 +02:00
✨ Add backup FROM SFTP to local
This commit is contained in:
18
app/code/backup/IsDistantTrait.php
Normal file
18
app/code/backup/IsDistantTrait.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Shikiryu\Backup\Backup;
|
||||
|
||||
trait IsDistantTrait
|
||||
{
|
||||
public function isLocal()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function isDistant()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
abstract public function retrieve();
|
||||
}
|
Reference in New Issue
Block a user