1 | <?php |
||
5 | class Job |
||
6 | { |
||
7 | use ParentHasClientAwareTrait; |
||
8 | |||
9 | /** |
||
10 | * @var Build |
||
11 | */ |
||
12 | protected $build; |
||
13 | |||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | protected $id; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $php = ''; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $env = ''; |
||
28 | |||
29 | public function __construct(Build $build, \stdClass $job) |
||
40 | |||
41 | /** |
||
42 | * @return mixed |
||
43 | */ |
||
44 | public function getId(): int |
||
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | public function getPhp(): string |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getEnv(): string |
||
64 | } |
||
65 |