1 | <?php declare(strict_types=1); |
||
19 | abstract class CombinedStatus extends AbstractResource implements CombinedStatusInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $state; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $sha; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $url; |
||
35 | |||
36 | /** |
||
37 | * @var int |
||
38 | */ |
||
39 | protected $total_count; |
||
40 | |||
41 | /** |
||
42 | * @var Repository\Commit\Status |
||
43 | */ |
||
44 | protected $statuses; |
||
45 | |||
46 | /** |
||
47 | * @var Repository |
||
48 | */ |
||
49 | 4 | protected $repository; |
|
50 | |||
51 | 4 | /** |
|
52 | * @return string |
||
53 | */ |
||
54 | public function state(): string |
||
58 | |||
59 | 4 | /** |
|
60 | * @return string |
||
61 | */ |
||
62 | public function sha(): string |
||
66 | |||
67 | 4 | /** |
|
68 | * @return string |
||
69 | */ |
||
70 | public function url(): string |
||
74 | |||
75 | /** |
||
76 | * @return int |
||
77 | */ |
||
78 | public function totalCount(): int |
||
82 | |||
83 | /** |
||
84 | * @return Repository\Commit\Status |
||
85 | */ |
||
86 | public function statuses(): Repository\Commit\Status |
||
90 | |||
91 | /** |
||
92 | * @return Repository |
||
93 | */ |
||
94 | public function repository(): Repository |
||
98 | } |
||
99 |