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 int |
||
33 | */ |
||
34 | protected $total_count; |
||
35 | |||
36 | /** |
||
37 | * @var Repository\Commit\Status |
||
38 | */ |
||
39 | protected $statuses; |
||
40 | |||
41 | /** |
||
42 | * @var Repository |
||
43 | */ |
||
44 | protected $repository; |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | 4 | public function state() : string |
|
53 | |||
54 | /** |
||
55 | * @return string |
||
56 | */ |
||
57 | 4 | public function sha() : string |
|
61 | |||
62 | /** |
||
63 | * @return int |
||
64 | */ |
||
65 | 4 | public function totalCount() : int |
|
69 | |||
70 | /** |
||
71 | * @return Repository\Commit\Status |
||
72 | */ |
||
73 | public function statuses() : Repository\Commit\Status |
||
77 | |||
78 | /** |
||
79 | * @return Repository |
||
80 | */ |
||
81 | public function repository() : Repository |
||
85 | } |
||
86 |