generated from wayofdev/spiral-starter-tpl
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
365 additions
and
284 deletions.
There are no files selected for viewing
24 changes: 0 additions & 24 deletions
24
app/src/Application/Payment/Activities/PaymentActivity.php
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
app/src/Domain/Transfer/Activities/Destination/AllocateSpaceInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Activities\Destination; | ||
|
||
use Temporal\Activity\ActivityInterface; | ||
|
||
#[ActivityInterface(prefix: 'website.transfer.destination.AllocateSpace.')] | ||
interface AllocateSpaceInterface | ||
{ | ||
public function handle(): string; | ||
} |
13 changes: 13 additions & 0 deletions
13
app/src/Domain/Transfer/Activities/Destination/AttachDomainInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Activities\Destination; | ||
|
||
use Temporal\Activity\ActivityInterface; | ||
|
||
#[ActivityInterface(prefix: 'website.transfer.destination.AttachDomain.')] | ||
interface AttachDomainInterface | ||
{ | ||
public function handle(): string; | ||
} |
13 changes: 13 additions & 0 deletions
13
app/src/Domain/Transfer/Activities/Destination/ReConfigureWebsiteInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Activities\Destination; | ||
|
||
use Temporal\Activity\ActivityInterface; | ||
|
||
#[ActivityInterface(prefix: 'website.transfer.destination.ReConfigureWebsite.')] | ||
interface ReConfigureWebsiteInterface | ||
{ | ||
public function handle(): string; | ||
} |
13 changes: 13 additions & 0 deletions
13
app/src/Domain/Transfer/Activities/Destination/RestoreDatabaseInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Activities\Destination; | ||
|
||
use Temporal\Activity\ActivityInterface; | ||
|
||
#[ActivityInterface(prefix: 'website.transfer.destination.RestoreDatabase.')] | ||
interface RestoreDatabaseInterface | ||
{ | ||
public function handle(): string; | ||
} |
13 changes: 13 additions & 0 deletions
13
app/src/Domain/Transfer/Activities/Destination/RestoreFilesInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Activities\Destination; | ||
|
||
use Temporal\Activity\ActivityInterface; | ||
|
||
#[ActivityInterface(prefix: 'website.transfer.destination.RestoreFiles.')] | ||
interface RestoreFilesInterface | ||
{ | ||
public function handle(): string; | ||
} |
13 changes: 13 additions & 0 deletions
13
app/src/Domain/Transfer/Activities/Source/BackupDatabaseInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Activities\Source; | ||
|
||
use Temporal\Activity\ActivityInterface; | ||
|
||
#[ActivityInterface(prefix: 'website.transfer.source.backupDatabase.')] | ||
interface BackupDatabaseInterface | ||
{ | ||
public function handle(): string; | ||
} |
13 changes: 13 additions & 0 deletions
13
app/src/Domain/Transfer/Activities/Source/BackupFilesInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Activities\Source; | ||
|
||
use Temporal\Activity\ActivityInterface; | ||
|
||
#[ActivityInterface(prefix: 'website.transfer.source.backupFiles.')] | ||
interface BackupFilesInterface | ||
{ | ||
public function handle(): string; | ||
} |
13 changes: 13 additions & 0 deletions
13
app/src/Domain/Transfer/Activities/Source/ReleaseDomainInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Activities\Source; | ||
|
||
use Temporal\Activity\ActivityInterface; | ||
|
||
#[ActivityInterface(prefix: 'website.transfer.source.releaseDomain.')] | ||
interface ReleaseDomainInterface | ||
{ | ||
public function handle(): string; | ||
} |
13 changes: 13 additions & 0 deletions
13
app/src/Domain/Transfer/Activities/Source/TransferBackupInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Activities\Source; | ||
|
||
use Temporal\Activity\ActivityInterface; | ||
|
||
#[ActivityInterface(prefix: 'website.transfer.source.transferBackup.')] | ||
interface TransferBackupInterface | ||
{ | ||
public function handle(): string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Contracts; | ||
|
||
use Domain\Transfer\TransferId; | ||
|
||
interface TransferIdGenerator | ||
{ | ||
public function nextId(): TransferId; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
app/src/Domain/Transfer/Exceptions/AllocateSpaceFailedException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Exceptions; | ||
|
||
use RuntimeException; | ||
|
||
final class AllocateSpaceFailedException extends RuntimeException | ||
{ | ||
public function __construct() | ||
{ | ||
parent::__construct('Failed to allocate space for transfer'); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
app/src/Domain/Transfer/Exceptions/AttachDomainFailedException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Exceptions; | ||
|
||
use RuntimeException; | ||
|
||
final class AttachDomainFailedException extends RuntimeException | ||
{ | ||
public function __construct() | ||
{ | ||
parent::__construct('Failed attach domain for transfer'); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
app/src/Domain/Transfer/Exceptions/BackupFilesFailedException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Domain\Transfer\Exceptions; | ||
|
||
use RuntimeException; | ||
|
||
final class BackupFilesFailedException extends RuntimeException | ||
{ | ||
public function __construct() | ||
{ | ||
parent::__construct('Failed to backup files on source server for transfer'); | ||
} | ||
} |
Oops, something went wrong.