-
Notifications
You must be signed in to change notification settings - Fork 18
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
desperado
committed
Jan 4, 2020
1 parent
ebe2d02
commit 1936498
Showing
4 changed files
with
58 additions
and
15 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
20 changes: 20 additions & 0 deletions
20
tests/Application/Bootstrap/services/TestBootstrapCommand.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,20 @@ | ||
<?php | ||
|
||
/** | ||
* PHP Service Bus (publish-subscribe pattern implementation). | ||
* | ||
* @author Maksim Masiukevich <dev@async-php.com> | ||
* @license MIT | ||
* @license https://opensource.org/licenses/MIT | ||
*/ | ||
|
||
declare(strict_types = 1); | ||
|
||
namespace ServiceBus\Tests\Application\Bootstrap\services; | ||
|
||
/** | ||
* | ||
*/ | ||
final class TestBootstrapCommand | ||
{ | ||
} |
37 changes: 37 additions & 0 deletions
37
tests/Application/Bootstrap/services/TestBootstrapService.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,37 @@ | ||
<?php | ||
|
||
/** | ||
* PHP Service Bus (publish-subscribe pattern implementation). | ||
* | ||
* @author Maksim Masiukevich <dev@async-php.com> | ||
* @license MIT | ||
* @license https://opensource.org/licenses/MIT | ||
*/ | ||
|
||
declare(strict_types = 1); | ||
|
||
namespace ServiceBus\Tests\Application\Bootstrap\services; | ||
|
||
use ServiceBus\Common\Context\ServiceBusContext; | ||
use ServiceBus\Services\Annotations\CommandHandler; | ||
use ServiceBus\Services\Annotations\EventListener; | ||
|
||
/** | ||
* | ||
*/ | ||
final class TestBootstrapService | ||
{ | ||
/** | ||
* @CommandHandler() | ||
*/ | ||
public function do(TestBootstrapCommand $command, ServiceBusContext $context): void | ||
{ | ||
} | ||
|
||
/** | ||
* @EventListener() | ||
*/ | ||
public function when(TestBootstrapEvent $event, ServiceBusContext $context): void | ||
{ | ||
} | ||
} |