@@ -31,8 +31,6 @@ public function __construct(
31
31
*/
32
32
public function write ($ path , $ contents , Config $ config ): array | false
33
33
{
34
- ray ('adapter write ' );
35
-
36
34
return $ this ->upload ($ path , $ contents );
37
35
}
38
36
@@ -41,8 +39,6 @@ public function write($path, $contents, Config $config): array | false
41
39
*/
42
40
public function writeStream ($ path , $ resource , Config $ config ): array | false
43
41
{
44
- ray ('adapter writeStream ' );
45
-
46
42
return $ this ->upload ($ path , $ resource );
47
43
}
48
44
@@ -51,8 +47,6 @@ public function writeStream($path, $resource, Config $config): array | false
51
47
*/
52
48
public function update ($ path , $ contents , Config $ config ): array | false
53
49
{
54
- ray ('adapter upload ' );
55
-
56
50
return $ this ->upload ($ path , $ contents );
57
51
}
58
52
@@ -61,8 +55,6 @@ public function update($path, $contents, Config $config): array | false
61
55
*/
62
56
public function updateStream ($ path , $ resource , Config $ config ): array | false
63
57
{
64
- ray ('adapter updateStream ' );
65
-
66
58
return $ this ->upload ($ path , $ resource );
67
59
}
68
60
@@ -122,8 +114,6 @@ protected function upload(string $path, $body): array | false
122
114
*/
123
115
public function rename ($ path , $ newpath ): bool
124
116
{
125
- ray ('adapter rename ' );
126
-
127
117
$ path = $ this ->ensureFolderIsPrefixed (trim ($ path , '/ ' ));
128
118
129
119
$ newpath = $ this ->ensureFolderIsPrefixed (trim ($ newpath , '/ ' ));
@@ -151,8 +141,6 @@ public function rename($path, $newpath): bool
151
141
*/
152
142
public function copy ($ path , $ newpath ): bool
153
143
{
154
- ray ('adapter copy ' );
155
-
156
144
$ path = $ this ->ensureFolderIsPrefixed (trim ($ path , '/ ' ));
157
145
158
146
$ newpath = $ this ->ensureFolderIsPrefixed (trim ($ newpath , '/ ' ));
@@ -179,8 +167,6 @@ public function copy($path, $newpath): bool
179
167
*/
180
168
public function delete ($ path ): bool
181
169
{
182
- ray ('adapter delete ' );
183
-
184
170
$ path = $ this ->ensureFolderIsPrefixed (trim ($ path , '/ ' ));
185
171
186
172
$ response = $ this
@@ -204,8 +190,6 @@ public function delete($path): bool
204
190
*/
205
191
public function deleteDir ($ dirname ): bool
206
192
{
207
- ray ('adapter deleteDir ' );
208
-
209
193
$ dirname = $ this ->ensureFolderIsPrefixed (trim ($ dirname , '/ ' ));
210
194
211
195
$ files = $ this ->listContents ($ dirname );
@@ -233,8 +217,6 @@ public function deleteDir($dirname): bool
233
217
*/
234
218
public function createDir ($ dirname , Config $ config ): array | false
235
219
{
236
- ray ('adapter createDir ' );
237
-
238
220
$ dirname = $ this ->ensureFolderIsPrefixed (trim ($ dirname , '/ ' ));
239
221
240
222
try {
@@ -261,8 +243,6 @@ public function createDir($dirname, Config $config): array | false
261
243
*/
262
244
public function has ($ path ): array | bool | null
263
245
{
264
- ray ('adapter has ' );
265
-
266
246
$ path = $ this ->ensureFolderIsPrefixed (trim ($ path , '/ ' ));
267
247
268
248
$ options = [
@@ -288,8 +268,6 @@ public function has($path): array | bool | null
288
268
*/
289
269
public function read ($ path ): array | false
290
270
{
291
- ray ('adapter read ' );
292
-
293
271
$ path = $ this ->ensureFolderIsPrefixed (trim ($ path , '/ ' ));
294
272
295
273
$ meta = $ this ->readObject ($ path );
@@ -306,8 +284,6 @@ public function read($path): array | false
306
284
*/
307
285
public function readStream ($ path ): array | false
308
286
{
309
- ray ('adapter readStream ' );
310
-
311
287
$ path = $ this ->ensureFolderIsPrefixed (trim ($ path , '/ ' ));
312
288
313
289
$ meta = $ this ->readObject ($ path );
@@ -372,8 +348,6 @@ protected function readObject(string $path): array | bool
372
348
*/
373
349
public function listContents ($ directory = '' , $ recursive = false ): array
374
350
{
375
- ray ('adapter listContents ' );
376
-
377
351
$ directory = $ this ->ensureFolderIsPrefixed (trim ($ directory , '/ ' ));
378
352
379
353
$ options = [
@@ -402,8 +376,6 @@ public function listContents($directory = '', $recursive = false): array
402
376
*/
403
377
public function getMetadata ($ path ): array | false
404
378
{
405
- ray ('adapter getMetadata ' );
406
-
407
379
$ meta = $ this ->readObject ($ path );
408
380
409
381
if ($ meta === false ) {
@@ -418,8 +390,6 @@ public function getMetadata($path): array | false
418
390
*/
419
391
public function getSize ($ path ): array | false
420
392
{
421
- ray ('adapter getSize ' );
422
-
423
393
return $ this ->getMetadata ($ path );
424
394
}
425
395
@@ -428,8 +398,6 @@ public function getSize($path): array | false
428
398
*/
429
399
public function getMimetype ($ path ): array | false
430
400
{
431
- ray ('adapter getMimetype ' );
432
-
433
401
return $ this ->getMetadata ($ path );
434
402
}
435
403
@@ -438,15 +406,11 @@ public function getMimetype($path): array | false
438
406
*/
439
407
public function getTimestamp ($ path ): array | false
440
408
{
441
- ray ('adapter getTimestamp ' );
442
-
443
409
return $ this ->getMetadata ($ path );
444
410
}
445
411
446
412
public function getUrl (string $ path ): string | false
447
413
{
448
- ray ('adapter getUrl ' );
449
-
450
414
$ path = $ this ->ensureFolderIsPrefixed (trim ($ path , '/ ' ));
451
415
452
416
$ options = [
0 commit comments