1 | <?php |
||
19 | class File extends Abstraction |
||
20 | { |
||
21 | /** |
||
22 | * Validate path. |
||
23 | * |
||
24 | * @param string $path |
||
25 | * @return boolean |
||
26 | */ |
||
27 | public function isPathValid($path) |
||
31 | 5 | ||
32 | /** |
||
33 | * Returns the executable for this action. |
||
34 | * |
||
35 | * @param \phpbu\App\Backup\Target $target |
||
36 | * @return \phpbu\App\Cli\Executable |
||
37 | */ |
||
38 | public function getExecutable(Target $target) { |
||
45 | 1 | ||
46 | 3 | ||
47 | /** |
||
48 | * Return final archive file. |
||
49 | * |
||
50 | * @param \phpbu\App\Backup\Target $target |
||
51 | * @return string |
||
52 | */ |
||
53 | public function getArchiveFile(Target $target) |
||
57 | } |
||
58 |