AdvanceStagingOptionsInterface.php
4 months ago
StagingDatabaseDtoInterface.php
1 year ago
StagingNetworkDtoInterface.php
2 months ago
StagingOperationDtoInterface.php
5 months ago
StagingSiteDtoInterface.php
1 year ago
StagingOperationDtoInterface.php
131 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPStaging\Staging\Interfaces; |
| 4 | |
| 5 | interface StagingOperationDtoInterface |
| 6 | { |
| 7 | public function setJobType(string $jobType); |
| 8 | |
| 9 | public function getJobType(): string; |
| 10 | |
| 11 | public function setIncludedTables(array $tables); |
| 12 | |
| 13 | public function getIncludedTables(): array; |
| 14 | |
| 15 | public function setExcludedTables(array $tables); |
| 16 | |
| 17 | public function getExcludedTables(): array; |
| 18 | |
| 19 | public function setNonSiteTables(array $tables); |
| 20 | |
| 21 | public function getNonSiteTables(): array; |
| 22 | |
| 23 | public function setSelectedTables(array $tables); |
| 24 | |
| 25 | public function getSelectedTables(): array; |
| 26 | |
| 27 | public function setStagingTables(array $tables); |
| 28 | |
| 29 | public function getStagingTables(): array; |
| 30 | |
| 31 | public function addStagingTable(string $srcTable, string $destTable); |
| 32 | |
| 33 | public function setPreserveTables(array $tables); |
| 34 | |
| 35 | public function getPreserveTables(): array; |
| 36 | |
| 37 | public function addPreserveTable(string $destTable, string $backupTable); |
| 38 | |
| 39 | public function setAllTablesExcluded(bool $excluded); |
| 40 | |
| 41 | public function getAllTablesExcluded(): bool; |
| 42 | |
| 43 | public function setExcludedDirectories(array $directories); |
| 44 | |
| 45 | public function getExcludedDirectories(): array; |
| 46 | |
| 47 | public function setExtraDirectories(array $directories); |
| 48 | |
| 49 | public function getExtraDirectories(): array; |
| 50 | |
| 51 | public function setExcludeSizeGreaterThan(float $size); |
| 52 | |
| 53 | public function getExcludeSizeGreaterThan(): float; |
| 54 | |
| 55 | public function setExcludeFileRules(array $rules); |
| 56 | |
| 57 | public function getExcludeFileRules(): array; |
| 58 | |
| 59 | public function setExcludeFolderRules(array $rules); |
| 60 | |
| 61 | public function getExcludeFolderRules(): array; |
| 62 | |
| 63 | public function setExcludeExtensionRules(array $rules); |
| 64 | |
| 65 | public function getExcludeExtensionRules(): array; |
| 66 | |
| 67 | public function setStagingSitePath(string $path); |
| 68 | |
| 69 | public function getStagingSitePath(): string; |
| 70 | |
| 71 | public function setStagingSiteUrl(string $url); |
| 72 | |
| 73 | public function getStagingSiteUrl(): string; |
| 74 | |
| 75 | public function setStagingSiteUploads(string $path); |
| 76 | |
| 77 | public function getStagingSiteUploads(): string; |
| 78 | |
| 79 | public function setIsWpConfigExcluded(bool $excluded); |
| 80 | |
| 81 | public function getIsWpConfigExcluded(): bool; |
| 82 | |
| 83 | public function setIsKeepPermalinks(bool $isKeepPermalinks); |
| 84 | |
| 85 | public function getIsKeepPermalinks(): bool; |
| 86 | |
| 87 | public function setIsRootFilesExcluded(bool $excluded); |
| 88 | |
| 89 | public function getIsRootFilesExcluded(): bool; |
| 90 | |
| 91 | public function setIsWpAdminExcluded(bool $excluded); |
| 92 | |
| 93 | public function getIsWpAdminExcluded(): bool; |
| 94 | |
| 95 | public function setIsWpContentExcluded(bool $excluded); |
| 96 | |
| 97 | public function getIsWpContentExcluded(): bool; |
| 98 | |
| 99 | public function setIsWpIncludesExcluded(bool $excluded); |
| 100 | |
| 101 | public function getIsWpIncludesExcluded(): bool; |
| 102 | |
| 103 | public function setIsPluginsExcluded(bool $excluded); |
| 104 | |
| 105 | public function getIsPluginsExcluded(): bool; |
| 106 | |
| 107 | public function setIsMuPluginsExcluded(bool $excluded); |
| 108 | |
| 109 | public function getIsMuPluginsExcluded(): bool; |
| 110 | |
| 111 | public function setIsThemesExcluded(bool $excluded); |
| 112 | |
| 113 | public function getIsThemesExcluded(): bool; |
| 114 | |
| 115 | public function setIsUploadsExcluded(bool $excluded); |
| 116 | |
| 117 | public function getIsUploadsExcluded(): bool; |
| 118 | |
| 119 | public function setIsRootDirectoriesExcluded(bool $excluded); |
| 120 | |
| 121 | public function getIsRootDirectoriesExcluded(): bool; |
| 122 | |
| 123 | public function getIsNewStagingSite(): bool; |
| 124 | |
| 125 | public function getIsUpdateJob(): bool; |
| 126 | |
| 127 | public function getIsResetJob(): bool; |
| 128 | |
| 129 | public function getIsUpdateOrResetJob(): bool; |
| 130 | } |
| 131 |