StagingSite
1 day ago
StagingSiteCreate
1 day ago
StagingSiteDelete
1 day ago
StagingSiteReset
1 day ago
StagingSiteUpdate
1 day ago
DataAdjustmentTask.php
1 day ago
DatabaseAdjustmentTask.php
1 day ago
FileAdjustmentTask.php
1 day ago
FileCopierTask.php
1 day ago
StagingTask.php
1 day ago
DataAdjustmentTask.php
40 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPStaging\Staging\Tasks; |
| 4 | |
| 5 | use WPStaging\Framework\Job\Dto\JobDataDto; |
| 6 | use WPStaging\Framework\Queue\SeekableQueueInterface; |
| 7 | use WPStaging\Framework\Job\Dto\StepsDto; |
| 8 | use WPStaging\Framework\Utils\Cache\Cache; |
| 9 | use WPStaging\Framework\Utils\Urls; |
| 10 | use WPStaging\Staging\Interfaces\AdvanceStagingOptionsInterface; |
| 11 | use WPStaging\Staging\Interfaces\StagingDatabaseDtoInterface; |
| 12 | use WPStaging\Staging\Interfaces\StagingNetworkDtoInterface; |
| 13 | use WPStaging\Staging\Interfaces\StagingOperationDtoInterface; |
| 14 | use WPStaging\Staging\Interfaces\StagingSiteDtoInterface; |
| 15 | use WPStaging\Vendor\Psr\Log\LoggerInterface; |
| 16 | |
| 17 | abstract class DataAdjustmentTask extends StagingTask |
| 18 | { |
| 19 | |
| 20 | protected $jobDataDto; // @phpstan-ignore-line |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | protected $urls; |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | public function __construct(LoggerInterface $logger, Cache $cache, StepsDto $stepsDto, SeekableQueueInterface $taskQueue, Urls $urls) |
| 35 | { |
| 36 | parent::__construct($logger, $cache, $stepsDto, $taskQueue); |
| 37 | $this->urls = $urls; |
| 38 | } |
| 39 | } |
| 40 |