Update to work with Flysystem 2.0 or 3.0

This commit is contained in:
Rob Desilets
2022-02-10 14:18:06 -06:00
parent f0e8180cef
commit 22a2fcb2ea
3 changed files with 400 additions and 95 deletions

View File

@@ -271,6 +271,7 @@ class Client
} elseif ($type == self::VALIDATION_DNS) {
return $this->selfDNSTest($authorization, $maxAttempts);
}
return false;
}
/**
@@ -488,12 +489,6 @@ class Client
$this->account = $this->getAccount();
}
/**
* Load the keys in memory
*
* @throws \League\Flysystem\FileExistsException
* @throws \League\Flysystem\FileNotFoundException
*/
protected function loadKeys()
{
//Make sure a private key is in place