1 | <?php declare(strict_types=1); |
||
16 | abstract class Release extends AbstractResource implements ReleaseInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | protected $id; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $tag_name; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $target_commitish; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $name; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $body; |
||
42 | |||
43 | /** |
||
44 | * @var bool |
||
45 | */ |
||
46 | protected $draft; |
||
47 | |||
48 | /** |
||
49 | * @var bool |
||
50 | */ |
||
51 | protected $prerelease; |
||
52 | |||
53 | /** |
||
54 | * @var DateTimeInterface |
||
55 | */ |
||
56 | protected $created_at; |
||
57 | |||
58 | /** |
||
59 | * @var DateTimeInterface |
||
60 | */ |
||
61 | protected $updated_at; |
||
62 | |||
63 | /** |
||
64 | * @var User |
||
65 | */ |
||
66 | protected $author; |
||
67 | |||
68 | /** |
||
69 | * @var array |
||
70 | */ |
||
71 | protected $assets; |
||
72 | |||
73 | /** |
||
74 | * @return int |
||
75 | */ |
||
76 | public function id(): int |
||
80 | |||
81 | /** |
||
82 | * @return string |
||
83 | */ |
||
84 | public function tagName(): string |
||
88 | |||
89 | /** |
||
90 | * @return string |
||
91 | */ |
||
92 | public function targetCommitish(): string |
||
96 | |||
97 | /** |
||
98 | * @return string |
||
99 | */ |
||
100 | public function name(): string |
||
104 | |||
105 | /** |
||
106 | * @return string |
||
107 | */ |
||
108 | public function body(): string |
||
112 | |||
113 | /** |
||
114 | * @return bool |
||
115 | */ |
||
116 | public function draft(): bool |
||
120 | |||
121 | /** |
||
122 | * @return bool |
||
123 | */ |
||
124 | public function prerelease(): bool |
||
128 | |||
129 | /** |
||
130 | * @return DateTimeInterface |
||
131 | */ |
||
132 | public function createdAt(): DateTimeInterface |
||
136 | |||
137 | /** |
||
138 | * @return DateTimeInterface |
||
139 | */ |
||
140 | public function updatedAt(): DateTimeInterface |
||
144 | |||
145 | /** |
||
146 | * @return User |
||
147 | */ |
||
148 | public function author(): User |
||
152 | |||
153 | /** |
||
154 | * @return array |
||
155 | */ |
||
156 | public function assets(): array |
||
160 | } |
||
161 |