Compression
4 months ago
Database
1 month ago
AbstractBackupsFinder.php
1 year ago
AbstractExtractor.php
3 months ago
AbstractServiceProvider.php
2 years ago
Archiver.php
1 month ago
BackupAssets.php
1 month ago
BackupContent.php
1 year ago
BackupMetadataEditor.php
1 year ago
BackupMetadataReader.php
5 months ago
BackupSigner.php
6 months ago
BackupsFinder.php
4 months ago
Extractor.php
3 months ago
FileBackupService.php
6 months ago
FileBackupServiceProvider.php
2 years ago
ServiceInterface.php
2 years ago
ZlibCompressor.php
11 months ago
AbstractServiceProvider.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPStaging\Backup\Service; |
| 4 | |
| 5 | /** |
| 6 | * Class AbstractServiceProvider |
| 7 | * |
| 8 | * @package WPStaging\Service\Backup |
| 9 | */ |
| 10 | abstract class AbstractServiceProvider |
| 11 | { |
| 12 | /** @var ServiceInterface */ |
| 13 | private $service; |
| 14 | |
| 15 | public function __construct(ServiceInterface $service) |
| 16 | { |
| 17 | $this->service = $service; |
| 18 | } |
| 19 | |
| 20 | public function getService(): ServiceInterface |
| 21 | { |
| 22 | return $this->service; |
| 23 | } |
| 24 | } |
| 25 |