1 | <?php declare(strict_types=1); |
||
17 | abstract class Repository extends AbstractResource implements RepositoryInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | protected $id; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $name; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $full_name; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $url; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | protected $description; |
||
43 | |||
44 | /** |
||
45 | * @var bool |
||
46 | */ |
||
47 | protected $private; |
||
48 | |||
49 | /** |
||
50 | * @var bool |
||
51 | */ |
||
52 | protected $fork; |
||
53 | |||
54 | /** |
||
55 | * @var string |
||
56 | */ |
||
57 | protected $homepage; |
||
58 | |||
59 | /** |
||
60 | * @var string |
||
61 | */ |
||
62 | protected $language; |
||
63 | |||
64 | /** |
||
65 | * @var int |
||
66 | */ |
||
67 | protected $forks_count; |
||
68 | |||
69 | /** |
||
70 | * @var int |
||
71 | */ |
||
72 | protected $stargazers_count; |
||
73 | |||
74 | /** |
||
75 | * @var int |
||
76 | */ |
||
77 | protected $watchers_count; |
||
78 | |||
79 | /** |
||
80 | * @var int |
||
81 | */ |
||
82 | protected $size; |
||
83 | |||
84 | /** |
||
85 | * @var string |
||
86 | */ |
||
87 | protected $default_branch; |
||
88 | |||
89 | /** |
||
90 | * @var int |
||
91 | */ |
||
92 | protected $open_issues_count; |
||
93 | |||
94 | /** |
||
95 | * @var bool |
||
96 | */ |
||
97 | protected $has_issues; |
||
98 | |||
99 | /** |
||
100 | * @var bool |
||
101 | */ |
||
102 | protected $has_wiki; |
||
103 | |||
104 | /** |
||
105 | * @var bool |
||
106 | */ |
||
107 | protected $has_pages; |
||
108 | |||
109 | /** |
||
110 | * @var bool |
||
111 | */ |
||
112 | protected $has_downloads; |
||
113 | |||
114 | /** |
||
115 | * @var DateTimeInterface |
||
116 | */ |
||
117 | protected $pushed_at; |
||
118 | |||
119 | /** |
||
120 | * @var DateTimeInterface |
||
121 | */ |
||
122 | protected $created_at; |
||
123 | |||
124 | /** |
||
125 | * @var DateTimeInterface |
||
126 | */ |
||
127 | protected $updated_at; |
||
128 | |||
129 | /** |
||
130 | * @var array |
||
131 | */ |
||
132 | protected $permissions; |
||
133 | |||
134 | /** |
||
135 | * @var string |
||
136 | */ |
||
137 | protected $html_url; |
||
138 | |||
139 | /** |
||
140 | * @var User |
||
141 | */ |
||
142 | protected $owner; |
||
143 | |||
144 | /** |
||
145 | * @var License |
||
146 | */ |
||
147 | protected $license; |
||
148 | |||
149 | /** |
||
150 | * @var array |
||
151 | */ |
||
152 | protected $topics; |
||
153 | |||
154 | /** |
||
155 | * @return int |
||
156 | */ |
||
157 | 4 | public function id() : int |
|
161 | |||
162 | /** |
||
163 | * @return string |
||
164 | */ |
||
165 | 4 | public function name() : string |
|
169 | |||
170 | /** |
||
171 | * @return string |
||
172 | */ |
||
173 | 4 | public function fullName() : string |
|
177 | |||
178 | /** |
||
179 | * @return string |
||
180 | */ |
||
181 | 4 | public function url() : string |
|
185 | |||
186 | /** |
||
187 | * @return string |
||
188 | */ |
||
189 | 4 | public function description() : string |
|
193 | |||
194 | /** |
||
195 | * @return bool |
||
196 | */ |
||
197 | 4 | public function private() : bool |
|
201 | |||
202 | /** |
||
203 | * @return bool |
||
204 | */ |
||
205 | 4 | public function fork() : bool |
|
209 | |||
210 | /** |
||
211 | * @return string |
||
212 | */ |
||
213 | 4 | public function homepage() : string |
|
217 | |||
218 | /** |
||
219 | * @return string |
||
220 | */ |
||
221 | 4 | public function language() : string |
|
225 | |||
226 | /** |
||
227 | * @return int |
||
228 | */ |
||
229 | 4 | public function forksCount() : int |
|
233 | |||
234 | /** |
||
235 | * @return int |
||
236 | */ |
||
237 | 4 | public function stargazersCount() : int |
|
241 | |||
242 | /** |
||
243 | * @return int |
||
244 | */ |
||
245 | 4 | public function watchersCount() : int |
|
249 | |||
250 | /** |
||
251 | * @return int |
||
252 | */ |
||
253 | 4 | public function size() : int |
|
257 | |||
258 | /** |
||
259 | * @return string |
||
260 | */ |
||
261 | 4 | public function defaultBranch() : string |
|
265 | |||
266 | /** |
||
267 | * @return int |
||
268 | */ |
||
269 | 4 | public function openIssuesCount() : int |
|
273 | |||
274 | /** |
||
275 | * @return bool |
||
276 | */ |
||
277 | 4 | public function hasIssues() : bool |
|
281 | |||
282 | /** |
||
283 | * @return bool |
||
284 | */ |
||
285 | 4 | public function hasWiki() : bool |
|
289 | |||
290 | /** |
||
291 | * @return bool |
||
292 | */ |
||
293 | 4 | public function hasPages() : bool |
|
297 | |||
298 | /** |
||
299 | * @return bool |
||
300 | */ |
||
301 | 4 | public function hasDownloads() : bool |
|
305 | |||
306 | /** |
||
307 | * @return DateTimeInterface |
||
308 | */ |
||
309 | public function pushedAt() : DateTimeInterface |
||
313 | |||
314 | /** |
||
315 | * @return DateTimeInterface |
||
316 | */ |
||
317 | public function createdAt() : DateTimeInterface |
||
321 | |||
322 | /** |
||
323 | * @return DateTimeInterface |
||
324 | */ |
||
325 | public function updatedAt() : DateTimeInterface |
||
329 | |||
330 | /** |
||
331 | * @return array |
||
332 | */ |
||
333 | public function permissions() : array |
||
337 | |||
338 | /** |
||
339 | * @return string |
||
340 | */ |
||
341 | 4 | public function htmlUrl() : string |
|
345 | |||
346 | /** |
||
347 | * @return User |
||
348 | */ |
||
349 | public function owner() : User |
||
353 | |||
354 | /** |
||
355 | * @return License |
||
356 | */ |
||
357 | public function license() : License |
||
361 | |||
362 | /** |
||
363 | * @return array |
||
364 | */ |
||
365 | public function topics() : array |
||
369 | } |
||
370 |