@@ -39,7 +39,9 @@ public static function fromDiskAndPath($disk, $path)
39
39
40
40
/**
41
41
* Get an instance of the underlying get getID3 class.
42
+ *
42
43
* @return \getID3
44
+ *
43
45
* @throws \getid3_exception
44
46
*/
45
47
private function getId3 ()
@@ -51,6 +53,7 @@ private function getId3()
51
53
* Extract all available info from file.
52
54
*
53
55
* @return array|string
56
+ *
54
57
* @throws \getid3_exception
55
58
*/
56
59
public function extractInfo ()
@@ -88,7 +91,9 @@ private function analyze()
88
91
89
92
/**
90
93
* Get all comments.
94
+ *
91
95
* @return mixed
96
+ *
92
97
* @throws \getid3_exception
93
98
*/
94
99
private function comments ()
@@ -100,6 +105,7 @@ private function comments()
100
105
* Get the title of the media file.
101
106
*
102
107
* @return string
108
+ *
103
109
* @throws \getid3_exception
104
110
*/
105
111
public function getTitle ()
@@ -109,7 +115,9 @@ public function getTitle()
109
115
110
116
/**
111
117
* Get Album name.
118
+ *
112
119
* @return string
120
+ *
113
121
* @throws \getid3_exception
114
122
*/
115
123
public function getAlbum ()
@@ -119,7 +127,9 @@ public function getAlbum()
119
127
120
128
/**
121
129
* Get the playtime of the media file.
130
+ *
122
131
* @return string|null
132
+ *
123
133
* @throws \getid3_exception
124
134
*/
125
135
public function getPlaytime ()
@@ -129,7 +139,9 @@ public function getPlaytime()
129
139
130
140
/**
131
141
* Get number of seconds of playtime.
142
+ *
132
143
* @return float
144
+ *
133
145
* @throws \getid3_exception
134
146
*/
135
147
public function getPlaytimeSeconds ()
@@ -140,8 +152,10 @@ public function getPlaytimeSeconds()
140
152
141
153
/**
142
154
* Get the artwork of the media file.
155
+ *
143
156
* @param bool $convert_to_jpeg
144
157
* @return mixed|string
158
+ *
145
159
* @throws \getid3_exception
146
160
*/
147
161
public function getArtwork (bool $ convert_to_jpeg = false )
@@ -157,7 +171,9 @@ public function getArtwork(bool $convert_to_jpeg = false)
157
171
158
172
/**
159
173
* Get genres.
174
+ *
160
175
* @return array
176
+ *
161
177
* @throws \getid3_exception
162
178
*/
163
179
public function getGenres ()
@@ -167,7 +183,9 @@ public function getGenres()
167
183
168
184
/**
169
185
* Get artist.
186
+ *
170
187
* @return string|null
188
+ *
171
189
* @throws \getid3_exception
172
190
*/
173
191
public function getArtist ()
@@ -177,7 +195,9 @@ public function getArtist()
177
195
178
196
/**
179
197
* Get Composer of track.
198
+ *
180
199
* @return string|null
200
+ *
181
201
* @throws \getid3_exception
182
202
*/
183
203
public function getComposer ()
@@ -187,7 +207,9 @@ public function getComposer()
187
207
188
208
/**
189
209
* Get Track number on album.
210
+ *
190
211
* @return string|null
212
+ *
191
213
* @throws \getid3_exception
192
214
*/
193
215
public function getTrackNumber ()
@@ -197,7 +219,9 @@ public function getTrackNumber()
197
219
198
220
/**
199
221
* Get the copyright info of the track.
222
+ *
200
223
* @return string|null
224
+ *
201
225
* @throws \getid3_exception
202
226
*/
203
227
public function getCopyrightInfo ()
@@ -207,6 +231,7 @@ public function getCopyrightInfo()
207
231
208
232
/**
209
233
* @return mixed|null
234
+ *
210
235
* @throws \getid3_exception
211
236
*/
212
237
public function getFileFormat ()
@@ -216,6 +241,7 @@ public function getFileFormat()
216
241
217
242
/**
218
243
* Convert base64 image to jpeg.
244
+ *
219
245
* @param $base64_string
220
246
* @return mixed
221
247
*/
0 commit comments