PluginProbe ʕ •ᴥ•ʔ
Backup Migration / 2.1.2
Backup Migration v2.1.2
2.1.6 2.1.5.2 trunk 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.6.1 1.4.7 1.4.8 1.4.9 1.4.9.1 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.5.1
backup-backup / includes / progress / interface-progress-storage.php
backup-backup / includes / progress Last commit date
class-file-progress-storage.php 3 months ago interface-progress-storage.php 3 months ago logger-only.php 3 months ago migration.php 3 months ago staging.php 3 months ago zip.php 3 months ago
interface-progress-storage.php
42 lines
1 <?php
2
3 namespace BMI\Plugin\Progress;
4
5 /**
6 * Interface ProgressStorageInterface
7 *
8 * Defines the contract for storing and retrieving progress state
9 * during search and replace operations.
10 */
11 interface ProgressStorageInterface
12 {
13 /**
14 * Loads the stored progress report.
15 *
16 * @return array|null The progress report array, or null if not found.
17 */
18 public function load();
19
20 /**
21 * Saves the progress report.
22 *
23 * @param array $report The report array to save.
24 * @return bool True on success, false on failure.
25 */
26 public function save($report);
27
28 /**
29 * Clears/deletes the stored progress.
30 *
31 * @return bool True on success, false on failure.
32 */
33 public function clear();
34
35 /**
36 * Checks if a stored progress report exists.
37 *
38 * @return bool True if exists, false otherwise.
39 */
40 public function exists();
41 }
42