Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
2 / 2 |
| ProcessFactoryStarted | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
| hasStarted | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace Qmp\Laravel\AsyncProcessFactory\Traits; |
| 4 | |
| 5 | trait ProcessFactoryStarted |
| 6 | { |
| 7 | /** |
| 8 | * The default process callback when stderr/stdout |
| 9 | * |
| 10 | * @param string $datas |
| 11 | * @return void |
| 12 | */ |
| 13 | protected function hasStarted(): void |
| 14 | { |
| 15 | $this->info("process started"); |
| 16 | } |
| 17 | } |