also looking at this
Fix Namespace SDK
#11
2 files
+8
-8
| @@ -4,7 +4,7 @@ namespace Meema\Flysystem; | ||
| 4 | 4 | |
| 5 | 5 | use League\Flysystem\Adapter\AbstractAdapter; |
| 6 | 6 | use League\Flysystem\Config; |
| 7 | use Meema\MeemaApi\Client; | |
| 7 | use Meema\MeemaClient\Client; | |
| 8 | 8 | |
| 9 | 9 | class MeemaAdapter extends AbstractAdapter |
| 10 | 10 | { |
| @@ -13,9 +13,9 @@ class MeemaAdapter extends AbstractAdapter | ||
| 13 | 13 | */ |
| 14 | 14 | protected $client; |
| 15 | 15 | |
| 16 | public function __construct($accessKey) | |
| 16 | public function __construct(Client $client) | |
| 17 | 17 | { |
| 18 | $this->client = new Client($accessKey); | |
| 18 | $this->client = $client; | |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | /** |