1 | <?php |
||
8 | class Manifest implements Countable |
||
9 | { |
||
10 | /** @var string */ |
||
11 | protected $manifestPath; |
||
12 | |||
13 | /** |
||
14 | * @param string $manifestPath |
||
15 | * |
||
16 | * @return \Spatie\Backup\Tasks\Backup\Manifest |
||
17 | */ |
||
18 | public static function create(string $manifestPath): Manifest |
||
22 | |||
23 | public function __construct(string $manifestPath) |
||
29 | |||
30 | public function path(): string |
||
34 | |||
35 | /** |
||
36 | * @param array $filePaths |
||
37 | * |
||
38 | * @return $this |
||
39 | */ |
||
40 | public function addFiles($filePaths): Manifest |
||
54 | |||
55 | /** |
||
56 | * @return \Generator|string[] |
||
57 | */ |
||
58 | public function files() |
||
70 | |||
71 | public function count(): int |
||
79 | } |
||
80 |