@@ -160,7 +160,7 @@ public function deleteDirectory($key)
160
160
*/
161
161
public function uploadToken ($ key = null , $ expires = 3600 , $ policy = null , $ strictPolicy = true )
162
162
{
163
- return $ this ->storage ->getDriver ()->uploadToken ($ key , $ expires , $ policy , $ strictPolicy );
163
+ return $ this ->storage ->getAdapter ()->uploadToken ($ key , $ expires , $ policy , $ strictPolicy );
164
164
}
165
165
166
166
/**
@@ -170,7 +170,7 @@ public function uploadToken($key = null, $expires = 3600, $policy = null, $stric
170
170
*/
171
171
public function withUploadToken ($ token )
172
172
{
173
- $ this ->storage ->getDriver ()->withUploadToken ($ token );
173
+ $ this ->storage ->getAdapter ()->withUploadToken ($ token );
174
174
}
175
175
176
176
/**
@@ -180,7 +180,7 @@ public function withUploadToken($token)
180
180
*/
181
181
public function downloadUrl ($ key , $ domainType = 'default ' )
182
182
{
183
- return $ this ->storage ->getDriver ()->downloadUrl ($ key , $ domainType );
183
+ return $ this ->storage ->getAdapter ()->downloadUrl ($ key , $ domainType );
184
184
}
185
185
186
186
/**
@@ -190,7 +190,7 @@ public function downloadUrl($key, $domainType = 'default')
190
190
*/
191
191
public function privateDownloadUrl ($ key , $ domainType = 'default ' )
192
192
{
193
- return $ this ->storage ->getDriver ()->privateDownloadUrl ($ key , $ domainType );
193
+ return $ this ->storage ->getAdapter ()->privateDownloadUrl ($ key , $ domainType );
194
194
}
195
195
196
196
/**
@@ -200,7 +200,7 @@ public function privateDownloadUrl($key, $domainType = 'default')
200
200
*/
201
201
public function avInfo ($ key )
202
202
{
203
- return $ this ->storage ->getDriver ()->avInfo ($ key );
203
+ return $ this ->storage ->getAdapter ()->avInfo ($ key );
204
204
}
205
205
206
206
/**
@@ -210,7 +210,7 @@ public function avInfo($key)
210
210
*/
211
211
public function imageInfo ($ key )
212
212
{
213
- return $ this ->storage ->getDriver ()->imageInfo ($ key );
213
+ return $ this ->storage ->getAdapter ()->imageInfo ($ key );
214
214
}
215
215
216
216
/**
@@ -220,7 +220,7 @@ public function imageInfo($key)
220
220
*/
221
221
public function imageExif ($ key )
222
222
{
223
- return $ this ->storage ->getDriver ()->imageExif ($ key );
223
+ return $ this ->storage ->getAdapter ()->imageExif ($ key );
224
224
}
225
225
226
226
/**
@@ -231,7 +231,7 @@ public function imageExif($key)
231
231
*/
232
232
public function imagePreviewUrl ($ key , $ opts )
233
233
{
234
- return $ this ->storage ->getDriver ()->imagePreviewUrl ($ key , $ opts );
234
+ return $ this ->storage ->getAdapter ()->imagePreviewUrl ($ key , $ opts );
235
235
}
236
236
237
237
/**
@@ -242,7 +242,7 @@ public function imagePreviewUrl($key, $opts)
242
242
*/
243
243
public function privateImagePreviewUrl ($ key , $ opts )
244
244
{
245
- return $ this ->storage ->getDriver ()->privateImagePreviewUrl ($ key , $ opts );
245
+ return $ this ->storage ->getAdapter ()->privateImagePreviewUrl ($ key , $ opts );
246
246
}
247
247
248
248
/**
@@ -256,7 +256,7 @@ public function privateImagePreviewUrl($key, $opts)
256
256
*/
257
257
public function persistentFop ($ key , $ opts , $ pipline = null , $ force = false , $ notify_url = null )
258
258
{
259
- return $ this ->storage ->getDriver ()->persistentFop ($ key , $ opts , $ pipline , $ force , $ notify_url );
259
+ return $ this ->storage ->getAdapter ()->persistentFop ($ key , $ opts , $ pipline , $ force , $ notify_url );
260
260
}
261
261
262
262
/**
@@ -266,7 +266,7 @@ public function persistentFop($key, $opts, $pipline = null, $force = false, $not
266
266
*/
267
267
public function persistentStatus ($ id )
268
268
{
269
- return $ this ->storage ->getDriver ()->persistentStatus ($ id );
269
+ return $ this ->storage ->getAdapter ()->persistentStatus ($ id );
270
270
}
271
271
272
272
/**
@@ -276,7 +276,7 @@ public function persistentStatus($id)
276
276
*/
277
277
public function verifyCallback ($ contentType , $ originAuthorization , $ url , $ body )
278
278
{
279
- return $ this ->storage ->getDriver ()->verifyCallback ($ contentType , $ originAuthorization , $ url , $ body );
279
+ return $ this ->storage ->getAdapter ()->verifyCallback ($ contentType , $ originAuthorization , $ url , $ body );
280
280
}
281
281
282
282
/**
@@ -287,7 +287,7 @@ public function verifyCallback($contentType, $originAuthorization, $url, $body)
287
287
*/
288
288
public function fetch ($ url , $ key )
289
289
{
290
- return $ this ->storage ->getDriver ()->fetch ($ url , $ key );
290
+ return $ this ->storage ->getAdapter ()->fetch ($ url , $ key );
291
291
}
292
292
293
293
/**
@@ -296,7 +296,7 @@ public function fetch($url, $key)
296
296
*/
297
297
public function qetag ()
298
298
{
299
- return $ this ->storage ->getDriver ()->qetag ();
299
+ return $ this ->storage ->getAdapter ()->qetag ();
300
300
}
301
301
302
302
/**
@@ -305,6 +305,6 @@ public function qetag()
305
305
*/
306
306
public function lastReturn ()
307
307
{
308
- return $ this ->storage ->getDriver ()->getLastReturn ();
308
+ return $ this ->storage ->getAdapter ()->getLastReturn ();
309
309
}
310
310
}
0 commit comments