1 | <?php |
||
7 | final class Build implements BuildInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var int |
||
11 | */ |
||
12 | private $id; |
||
13 | |||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | private $repositoryId; |
||
18 | |||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | private $commitId; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | private $number; |
||
28 | |||
29 | /** |
||
30 | * @var bool |
||
31 | */ |
||
32 | private $pullRequest; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | private $pullRequestTitle; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | private $pullRequestNumber; |
||
43 | |||
44 | /** |
||
45 | * @var array |
||
46 | */ |
||
47 | private $config = []; |
||
48 | |||
49 | /** |
||
50 | * @var string |
||
51 | */ |
||
52 | private $state; |
||
53 | |||
54 | /** |
||
55 | * @var DateTimeInterface |
||
56 | */ |
||
57 | private $startedAt; |
||
58 | |||
59 | /** |
||
60 | * @var DateTimeInterface |
||
61 | */ |
||
62 | private $finishedAt; |
||
63 | |||
64 | /** |
||
65 | * @var int |
||
66 | */ |
||
67 | private $duration; |
||
68 | |||
69 | /** |
||
70 | * @var int[] |
||
71 | */ |
||
72 | private $jobIds = []; |
||
73 | |||
74 | public function id() : int |
||
78 | |||
79 | public function repositoryId() : int |
||
83 | |||
84 | public function commitId() : int |
||
88 | |||
89 | public function number() : string |
||
93 | |||
94 | public function pullRequest() : bool |
||
98 | |||
99 | public function pullRequestTitle() : string |
||
103 | |||
104 | public function pullRequestNumber() : string |
||
108 | |||
109 | public function config() : array |
||
113 | |||
114 | public function state() : string |
||
118 | |||
119 | public function startedAt() : DateTimeInterface |
||
123 | |||
124 | public function finishedAt() : DateTimeInterface |
||
128 | |||
129 | public function duration() : int |
||
133 | |||
134 | public function jobIds() : array |
||
138 | } |
||
139 |