1 | <?php |
||
13 | class Repository extends BaseRepository |
||
14 | { |
||
15 | use CallAsyncTrait; |
||
16 | |||
17 | /** |
||
18 | * @return array |
||
19 | */ |
||
20 | public function builds(): array |
||
24 | |||
25 | /** |
||
26 | * @param int $id |
||
27 | * @return Build |
||
28 | */ |
||
29 | public function build(int $id): Build |
||
33 | |||
34 | /** |
||
35 | * @return array |
||
36 | */ |
||
37 | public function commits(): array |
||
41 | |||
42 | /** |
||
43 | * @return SettingsInterface |
||
44 | */ |
||
45 | public function settings(): SettingsInterface |
||
49 | |||
50 | /** |
||
51 | * @return bool |
||
52 | */ |
||
53 | public function isActive(): bool |
||
57 | |||
58 | /** |
||
59 | * @return Repository |
||
60 | */ |
||
61 | public function enable(): Repository |
||
65 | |||
66 | /** |
||
67 | * @return Repository |
||
68 | */ |
||
69 | public function disable(): Repository |
||
73 | |||
74 | /** |
||
75 | * @return array |
||
76 | */ |
||
77 | public function branches(): array |
||
81 | |||
82 | /** |
||
83 | * @return array |
||
84 | */ |
||
85 | public function vars(): array |
||
89 | |||
90 | /** |
||
91 | * @return array |
||
92 | */ |
||
93 | public function caches(): array |
||
97 | |||
98 | /** |
||
99 | * @return RepositoryKeyInterface |
||
100 | */ |
||
101 | public function key(): RepositoryKeyInterface |
||
105 | |||
106 | /** |
||
107 | * @return Repository |
||
108 | */ |
||
109 | public function refresh(): Repository |
||
113 | } |
||
114 |