1 | <?php declare(strict_types=1); |
||
16 | abstract class Repository extends AbstractResource implements RepositoryInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | protected $id; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $name; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $full_name; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $url; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $description; |
||
42 | |||
43 | /** |
||
44 | * @var bool |
||
45 | */ |
||
46 | protected $private; |
||
47 | |||
48 | /** |
||
49 | * @var bool |
||
50 | */ |
||
51 | protected $fork; |
||
52 | |||
53 | /** |
||
54 | * @var string |
||
55 | */ |
||
56 | protected $homepage; |
||
57 | |||
58 | /** |
||
59 | * @var string |
||
60 | */ |
||
61 | protected $language; |
||
62 | |||
63 | /** |
||
64 | * @var int |
||
65 | */ |
||
66 | protected $forks_count; |
||
67 | |||
68 | /** |
||
69 | * @var int |
||
70 | */ |
||
71 | protected $stargazers_count; |
||
72 | |||
73 | /** |
||
74 | * @var int |
||
75 | */ |
||
76 | protected $watchers_count; |
||
77 | |||
78 | /** |
||
79 | * @var int |
||
80 | */ |
||
81 | protected $size; |
||
82 | |||
83 | /** |
||
84 | * @var string |
||
85 | */ |
||
86 | protected $default_branch; |
||
87 | |||
88 | /** |
||
89 | * @var int |
||
90 | */ |
||
91 | protected $open_issues_count; |
||
92 | |||
93 | /** |
||
94 | * @var bool |
||
95 | */ |
||
96 | protected $has_issues; |
||
97 | |||
98 | /** |
||
99 | * @var bool |
||
100 | */ |
||
101 | protected $has_wiki; |
||
102 | |||
103 | /** |
||
104 | * @var bool |
||
105 | */ |
||
106 | protected $has_pages; |
||
107 | |||
108 | /** |
||
109 | * @var bool |
||
110 | */ |
||
111 | protected $has_downloads; |
||
112 | |||
113 | /** |
||
114 | * @var DateTimeInterface |
||
115 | */ |
||
116 | protected $pushed_at; |
||
117 | |||
118 | /** |
||
119 | * @var DateTimeInterface |
||
120 | */ |
||
121 | protected $created_at; |
||
122 | |||
123 | /** |
||
124 | * @var DateTimeInterface |
||
125 | */ |
||
126 | protected $updated_at; |
||
127 | |||
128 | /** |
||
129 | * @var array |
||
130 | */ |
||
131 | protected $permissions; |
||
132 | |||
133 | /** |
||
134 | * @var string |
||
135 | */ |
||
136 | protected $html_url; |
||
137 | 4 | ||
138 | /** |
||
139 | 4 | * @var User |
|
140 | */ |
||
141 | protected $owner; |
||
142 | |||
143 | /** |
||
144 | * @return int |
||
145 | 4 | */ |
|
146 | public function id() : int |
||
150 | |||
151 | /** |
||
152 | * @return string |
||
153 | 4 | */ |
|
154 | public function name() : string |
||
158 | |||
159 | /** |
||
160 | * @return string |
||
161 | 4 | */ |
|
162 | public function fullName() : string |
||
166 | |||
167 | /** |
||
168 | * @return string |
||
169 | 4 | */ |
|
170 | public function url() : string |
||
174 | |||
175 | /** |
||
176 | * @return string |
||
177 | 4 | */ |
|
178 | public function description() : string |
||
182 | |||
183 | /** |
||
184 | * @return bool |
||
185 | 4 | */ |
|
186 | public function private() : bool |
||
190 | |||
191 | /** |
||
192 | * @return bool |
||
193 | 4 | */ |
|
194 | public function fork() : bool |
||
198 | |||
199 | /** |
||
200 | * @return string |
||
201 | 4 | */ |
|
202 | public function homepage() : string |
||
206 | |||
207 | /** |
||
208 | * @return string |
||
209 | 4 | */ |
|
210 | public function language() : string |
||
214 | |||
215 | /** |
||
216 | * @return int |
||
217 | 4 | */ |
|
218 | public function forksCount() : int |
||
222 | |||
223 | /** |
||
224 | * @return int |
||
225 | 4 | */ |
|
226 | public function stargazersCount() : int |
||
230 | |||
231 | /** |
||
232 | * @return int |
||
233 | 4 | */ |
|
234 | public function watchersCount() : int |
||
238 | |||
239 | /** |
||
240 | * @return int |
||
241 | 4 | */ |
|
242 | public function size() : int |
||
246 | |||
247 | /** |
||
248 | * @return string |
||
249 | 4 | */ |
|
250 | public function defaultBranch() : string |
||
254 | |||
255 | /** |
||
256 | * @return int |
||
257 | 4 | */ |
|
258 | public function openIssuesCount() : int |
||
262 | |||
263 | /** |
||
264 | * @return bool |
||
265 | 4 | */ |
|
266 | public function hasIssues() : bool |
||
270 | |||
271 | /** |
||
272 | * @return bool |
||
273 | 4 | */ |
|
274 | public function hasWiki() : bool |
||
278 | |||
279 | /** |
||
280 | * @return bool |
||
281 | 4 | */ |
|
282 | public function hasPages() : bool |
||
286 | |||
287 | /** |
||
288 | * @return bool |
||
289 | */ |
||
290 | public function hasDownloads() : bool |
||
294 | |||
295 | /** |
||
296 | * @return DateTimeInterface |
||
297 | */ |
||
298 | public function pushedAt() : DateTimeInterface |
||
302 | |||
303 | /** |
||
304 | * @return DateTimeInterface |
||
305 | */ |
||
306 | public function createdAt() : DateTimeInterface |
||
310 | |||
311 | /** |
||
312 | * @return DateTimeInterface |
||
313 | */ |
||
314 | public function updatedAt() : DateTimeInterface |
||
318 | |||
319 | /** |
||
320 | * @return array |
||
321 | */ |
||
322 | public function permissions() : array |
||
326 | 4 | ||
327 | /** |
||
328 | 4 | * @return string |
|
329 | */ |
||
330 | public function htmlUrl() : string |
||
334 | |||
335 | /** |
||
336 | * @return User |
||
337 | */ |
||
338 | public function owner() : User |
||
342 | } |
||
343 |