From d4067a46e1daa9a74d3d37bc6ba322babdda130e Mon Sep 17 00:00:00 2001 From: Harsh3305 Date: Wed, 4 Oct 2023 19:02:30 +0530 Subject: [PATCH] Created IBM cloud object to connect with IBM --- src/Storage/Device/IBMCloudObject.php | 60 +++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/Storage/Device/IBMCloudObject.php diff --git a/src/Storage/Device/IBMCloudObject.php b/src/Storage/Device/IBMCloudObject.php new file mode 100644 index 00000000..c0f328ed --- /dev/null +++ b/src/Storage/Device/IBMCloudObject.php @@ -0,0 +1,60 @@ +headers['host'] = $bucket.'.'.$region.'.'.'cloud.ibm.com'; + } + + + /** + * @return string + */ + public function getName(): string + { + return 'IBM Cloud Object Storage'; + } + + /** + * @return string + */ + public function getDescription(): string + { + return 'IBM Cloud Object'; + } + + /** + * @return string + */ + public function getType(): string + { + return Storage::DEVICE_IBM_CLOUD_OBJECT; + } +}