| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class AsyncChildResponse |
||
| 9 | { |
||
| 10 | private $jobResult; |
||
| 11 | private $stdout; |
||
| 12 | private $error; |
||
| 13 | |||
| 14 | public function __construct( |
||
| 15 | $jobResult, |
||
| 16 | ?string $stdout = null, |
||
| 17 | ?Exception $error = null |
||
| 18 | ) { |
||
| 19 | $this->jobResult = $jobResult; |
||
| 20 | $this->stdout = $stdout; |
||
| 21 | $this->error = $error; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getJobResult() |
||
| 25 | { |
||
| 26 | return $this->jobResult; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getStdOut(): ?string |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getError(): ?Exception |
||
| 37 | } |
||
| 38 | } |