Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 4
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
BackgroundProcessExample
0.00% covered (danger)
0.00%
0 / 4
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 createBackgroundProcess
0.00% covered (danger)
0.00%
0 / 4
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2namespace Apie\Fixtures\Actions;
3
4use Apie\Core\BackgroundProcess\SequentialBackgroundProcess;
5use Apie\Core\Lists\ItemHashmap;
6use Apie\Fixtures\BackgroundProcess\SequentialExample;
7
8class 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}