Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
| RunSequentialProcessMessage | |
0.00% |
0 / 3 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getProcessId | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getBoundedContextId | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | namespace Apie\ApieBundle\Messenger; |
| 3 | |
| 4 | use Apie\Core\BackgroundProcess\SequentialBackgroundProcessIdentifier; |
| 5 | use Apie\Core\BoundedContext\BoundedContextId; |
| 6 | |
| 7 | class RunSequentialProcessMessage |
| 8 | { |
| 9 | public function __construct( |
| 10 | private SequentialBackgroundProcessIdentifier $processId, |
| 11 | private ?BoundedContextId $boundedContextId = null, |
| 12 | ) { |
| 13 | } |
| 14 | |
| 15 | public function getProcessId(): SequentialBackgroundProcessIdentifier |
| 16 | { |
| 17 | return $this->processId; |
| 18 | } |
| 19 | |
| 20 | public function getBoundedContextId(): ?BoundedContextId |
| 21 | { |
| 22 | return $this->boundedContextId; |
| 23 | } |
| 24 | } |