You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: src/S3FilesystemV1.php
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,10 @@
18
18
useLeague\Flysystem\Config;
19
19
useLeague\Flysystem\Util;
20
20
21
+
if (!class_exists(AbstractAdapter::class)) {
22
+
thrownew \LogicException('You cannot use "AsyncAws\Flysystem\S3\S3FilesystemV1" as the "league/flysystem:1.x" package is not installed. Try running "composer require league/flysystem:^1.0".');
23
+
}
24
+
21
25
class S3FilesystemV1 extends AbstractAdapter implements CanOverwriteFiles
if (!interface_exists(FilesystemAdapter::class)) {
35
+
thrownew \LogicException('You cannot use "AsyncAws\Flysystem\S3\S3FilesystemV2" as the "league/flysystem:2.x" package is not installed. Try running "composer require league/flysystem:^2.0".');
0 commit comments