1 | <?php |
||
5 | class ProcessOutcome |
||
6 | { |
||
7 | /** |
||
8 | * @var int |
||
9 | */ |
||
10 | protected $exitCode; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $stderr; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $stdout; |
||
21 | |||
22 | /** |
||
23 | * ProcessOutcome constructor. |
||
24 | * @param int $exitCode |
||
25 | * @param string $stderr |
||
26 | * @param string $stdout |
||
27 | */ |
||
28 | 2 | public function __construct($exitCode, $stderr, $stdout) |
|
34 | |||
35 | /** |
||
36 | * @return int |
||
37 | */ |
||
38 | 2 | public function getExitCode() |
|
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | 2 | public function getStderr() |
|
50 | |||
51 | /** |
||
52 | * @return string |
||
53 | */ |
||
54 | 2 | public function getStdout() |
|
58 | } |
||
59 |