2015-07-12 20:53:15 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Shikiryu\Backup\Backup;
|
|
|
|
|
|
|
|
class Folder extends BackupAbstract
|
|
|
|
{
|
|
|
|
|
|
|
|
public function __construct(array $config = array())
|
|
|
|
{
|
|
|
|
parent::__construct($config);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function isValid()
|
|
|
|
{
|
|
|
|
// TODO: Implement isValid() method.
|
|
|
|
}
|
2015-08-18 17:02:37 +02:00
|
|
|
|
2016-07-01 21:59:39 +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-01 21:59:39 +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-01 21:59:39 +02:00
|
|
|
/**
|
|
|
|
* Mandatory function doing the backup
|
|
|
|
*/
|
2015-08-18 17:02:37 +02:00
|
|
|
protected function build()
|
|
|
|
{
|
|
|
|
// TODO: Implement build() method.
|
|
|
|
}
|
2015-07-12 20:53:15 +02:00
|
|
|
}
|