Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| BackgroundProcessExample | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| createBackgroundProcess | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | namespace Apie\Fixtures\Actions; |
| 3 | |
| 4 | use Apie\Core\BackgroundProcess\SequentialBackgroundProcess; |
| 5 | use Apie\Core\Lists\ItemHashmap; |
| 6 | use Apie\Fixtures\BackgroundProcess\SequentialExample; |
| 7 | |
| 8 | class BackgroundProcessExample |
| 9 | { |
| 10 | public function createBackgroundProcess(int $payload): SequentialBackgroundProcess |
| 11 | { |
| 12 | return new SequentialBackgroundProcess( |
| 13 | new SequentialExample(), |
| 14 | new ItemHashmap(['payload' => $payload]) |
| 15 | ); |
| 16 | } |
| 17 | } |