@@ -160,7 +160,7 @@ public function deleteDirectory($key)
160160 */
161161 public function uploadToken ($ key = null , $ expires = 3600 , $ policy = null , $ strictPolicy = true )
162162 {
163- return $ this ->storage ->getDriver ()->uploadToken ($ key , $ expires , $ policy , $ strictPolicy );
163+ return $ this ->storage ->getAdapter ()->uploadToken ($ key , $ expires , $ policy , $ strictPolicy );
164164 }
165165
166166 /**
@@ -170,7 +170,7 @@ public function uploadToken($key = null, $expires = 3600, $policy = null, $stric
170170 */
171171 public function withUploadToken ($ token )
172172 {
173- $ this ->storage ->getDriver ()->withUploadToken ($ token );
173+ $ this ->storage ->getAdapter ()->withUploadToken ($ token );
174174 }
175175
176176 /**
@@ -180,7 +180,7 @@ public function withUploadToken($token)
180180 */
181181 public function downloadUrl ($ key , $ domainType = 'default ' )
182182 {
183- return $ this ->storage ->getDriver ()->downloadUrl ($ key , $ domainType );
183+ return $ this ->storage ->getAdapter ()->downloadUrl ($ key , $ domainType );
184184 }
185185
186186 /**
@@ -190,7 +190,7 @@ public function downloadUrl($key, $domainType = 'default')
190190 */
191191 public function privateDownloadUrl ($ key , $ domainType = 'default ' )
192192 {
193- return $ this ->storage ->getDriver ()->privateDownloadUrl ($ key , $ domainType );
193+ return $ this ->storage ->getAdapter ()->privateDownloadUrl ($ key , $ domainType );
194194 }
195195
196196 /**
@@ -200,7 +200,7 @@ public function privateDownloadUrl($key, $domainType = 'default')
200200 */
201201 public function avInfo ($ key )
202202 {
203- return $ this ->storage ->getDriver ()->avInfo ($ key );
203+ return $ this ->storage ->getAdapter ()->avInfo ($ key );
204204 }
205205
206206 /**
@@ -210,7 +210,7 @@ public function avInfo($key)
210210 */
211211 public function imageInfo ($ key )
212212 {
213- return $ this ->storage ->getDriver ()->imageInfo ($ key );
213+ return $ this ->storage ->getAdapter ()->imageInfo ($ key );
214214 }
215215
216216 /**
@@ -220,7 +220,7 @@ public function imageInfo($key)
220220 */
221221 public function imageExif ($ key )
222222 {
223- return $ this ->storage ->getDriver ()->imageExif ($ key );
223+ return $ this ->storage ->getAdapter ()->imageExif ($ key );
224224 }
225225
226226 /**
@@ -231,7 +231,7 @@ public function imageExif($key)
231231 */
232232 public function imagePreviewUrl ($ key , $ opts )
233233 {
234- return $ this ->storage ->getDriver ()->imagePreviewUrl ($ key , $ opts );
234+ return $ this ->storage ->getAdapter ()->imagePreviewUrl ($ key , $ opts );
235235 }
236236
237237 /**
@@ -242,7 +242,7 @@ public function imagePreviewUrl($key, $opts)
242242 */
243243 public function privateImagePreviewUrl ($ key , $ opts )
244244 {
245- return $ this ->storage ->getDriver ()->privateImagePreviewUrl ($ key , $ opts );
245+ return $ this ->storage ->getAdapter ()->privateImagePreviewUrl ($ key , $ opts );
246246 }
247247
248248 /**
@@ -256,7 +256,7 @@ public function privateImagePreviewUrl($key, $opts)
256256 */
257257 public function persistentFop ($ key , $ opts , $ pipline = null , $ force = false , $ notify_url = null )
258258 {
259- return $ this ->storage ->getDriver ()->persistentFop ($ key , $ opts , $ pipline , $ force , $ notify_url );
259+ return $ this ->storage ->getAdapter ()->persistentFop ($ key , $ opts , $ pipline , $ force , $ notify_url );
260260 }
261261
262262 /**
@@ -266,7 +266,7 @@ public function persistentFop($key, $opts, $pipline = null, $force = false, $not
266266 */
267267 public function persistentStatus ($ id )
268268 {
269- return $ this ->storage ->getDriver ()->persistentStatus ($ id );
269+ return $ this ->storage ->getAdapter ()->persistentStatus ($ id );
270270 }
271271
272272 /**
@@ -276,7 +276,7 @@ public function persistentStatus($id)
276276 */
277277 public function verifyCallback ($ contentType , $ originAuthorization , $ url , $ body )
278278 {
279- return $ this ->storage ->getDriver ()->verifyCallback ($ contentType , $ originAuthorization , $ url , $ body );
279+ return $ this ->storage ->getAdapter ()->verifyCallback ($ contentType , $ originAuthorization , $ url , $ body );
280280 }
281281
282282 /**
@@ -287,7 +287,7 @@ public function verifyCallback($contentType, $originAuthorization, $url, $body)
287287 */
288288 public function fetch ($ url , $ key )
289289 {
290- return $ this ->storage ->getDriver ()->fetch ($ url , $ key );
290+ return $ this ->storage ->getAdapter ()->fetch ($ url , $ key );
291291 }
292292
293293 /**
@@ -296,7 +296,7 @@ public function fetch($url, $key)
296296 */
297297 public function qetag ()
298298 {
299- return $ this ->storage ->getDriver ()->qetag ();
299+ return $ this ->storage ->getAdapter ()->qetag ();
300300 }
301301
302302 /**
@@ -305,6 +305,6 @@ public function qetag()
305305 */
306306 public function lastReturn ()
307307 {
308- return $ this ->storage ->getDriver ()->getLastReturn ();
308+ return $ this ->storage ->getAdapter ()->getLastReturn ();
309309 }
310310}
0 commit comments