1 | <?php declare(strict_types=1); |
||
20 | abstract class Release extends AbstractResource implements ReleaseInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var int |
||
24 | */ |
||
25 | protected $id; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $tag_name; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | protected $target_commitish; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $name; |
||
41 | |||
42 | /** |
||
43 | * @var string |
||
44 | */ |
||
45 | protected $body; |
||
46 | |||
47 | /** |
||
48 | * @var bool |
||
49 | */ |
||
50 | protected $draft; |
||
51 | |||
52 | /** |
||
53 | * @var bool |
||
54 | */ |
||
55 | protected $prerelease; |
||
56 | |||
57 | /** |
||
58 | * @var DateTimeInterface |
||
59 | */ |
||
60 | protected $created_at; |
||
61 | |||
62 | /** |
||
63 | * @var DateTimeInterface |
||
64 | */ |
||
65 | protected $updated_at; |
||
66 | |||
67 | /** |
||
68 | * @var User |
||
69 | */ |
||
70 | protected $author; |
||
71 | |||
72 | /** |
||
73 | * @var Repository\Release\Asset |
||
74 | */ |
||
75 | protected $assets; |
||
76 | |||
77 | /** |
||
78 | * @return int |
||
79 | */ |
||
80 | public function id(): int |
||
84 | |||
85 | /** |
||
86 | * @return string |
||
87 | */ |
||
88 | public function tagName(): string |
||
92 | |||
93 | /** |
||
94 | * @return string |
||
95 | */ |
||
96 | public function targetCommitish(): string |
||
100 | |||
101 | /** |
||
102 | * @return string |
||
103 | */ |
||
104 | public function name(): string |
||
108 | |||
109 | /** |
||
110 | * @return string |
||
111 | */ |
||
112 | public function body(): string |
||
116 | |||
117 | /** |
||
118 | * @return bool |
||
119 | */ |
||
120 | public function draft(): bool |
||
124 | |||
125 | /** |
||
126 | * @return bool |
||
127 | */ |
||
128 | public function prerelease(): bool |
||
132 | |||
133 | /** |
||
134 | * @return DateTimeInterface |
||
135 | */ |
||
136 | public function createdAt(): DateTimeInterface |
||
140 | |||
141 | /** |
||
142 | * @return DateTimeInterface |
||
143 | */ |
||
144 | public function updatedAt(): DateTimeInterface |
||
148 | |||
149 | /** |
||
150 | * @return User |
||
151 | */ |
||
152 | public function author(): User |
||
156 | |||
157 | /** |
||
158 | * @return array |
||
159 | */ |
||
160 | public function assets(): array |
||
164 | } |
||
165 |