2015-07-12 20:53:15 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Shikiryu\Backup\Backup;
|
|
|
|
|
|
|
|
class Folder extends BackupAbstract
|
|
|
|
{
|
2020-04-16 17:57:14 +02:00
|
|
|
use IsLocalTrait;
|
|
|
|
|
2015-07-12 20:53:15 +02:00
|
|
|
public function __construct(array $config = array())
|
|
|
|
{
|
|
|
|
parent::__construct($config);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2016-07-03 21:54:35 +02:00
|
|
|
* @return bool
|
|
|
|
*/
|
2015-07-12 20:53:15 +02:00
|
|
|
public function isValid()
|
|
|
|
{
|
|
|
|
// TODO: Implement isValid() method.
|
|
|
|
}
|
2015-08-18 17:02:37 +02:00
|
|
|
|
2016-07-03 21:54:35 +02:00
|
|
|
/**
|
|
|
|
* Function that can be used to initialize the backup
|
|
|
|
*/
|
2015-08-18 17:02:37 +02:00
|
|
|
protected function preBuild()
|
|
|
|
{
|
|
|
|
// TODO: Implement preBuild() method.
|
|
|
|
}
|
|
|
|
|
2016-07-03 21:54:35 +02:00
|
|
|
/**
|
|
|
|
* Function that can be used after the backup
|
|
|
|
*/
|
2015-08-18 17:02:37 +02:00
|
|
|
protected function postBuild()
|
|
|
|
{
|
|
|
|
// TODO: Implement postBuild() method.
|
|
|
|
}
|
|
|
|
|
2016-07-03 21:54:35 +02:00
|
|
|
/**
|
|
|
|
* Mandatory function doing the backup
|
|
|
|
*/
|
2015-08-18 17:02:37 +02:00
|
|
|
protected function build()
|
|
|
|
{
|
|
|
|
// TODO: Implement build() method.
|
|
|
|
}
|
2016-07-03 21:54:35 +02:00
|
|
|
}
|