{
- "name": "cubist\/net",
- "description": "net cubist composer package",
- "type": "library",
- "license": "proprietary",
- "minimum-stability": "dev",
- "repositories": [
- {
- "type": "composer",
- "url": "https://composer.cubedesigners.com/"
+ "name": "cubist\/net",
+ "description": "net cubist composer package",
+ "type": "library",
+ "license": "proprietary",
+ "minimum-stability": "dev",
+ "repositories": [
+ {
+ "type": "composer",
+ "url": "https://composer.cubedesigners.com/"
+ }
+ ],
+ "autoload": {
+ "psr-4": {
+ "Cubist\\Net\\": "src"
+ }
+ },
+ "authors": [
+ {
+ "name": "Vincent Vanwaelscappel",
+ "email": "vincent@cubedesigners.com"
+ }
+ ],
+ "require": {
+ "php": ">=7.0.0",
+ "ext-ssh2": "*",
+ "cubist/util": "dev-master",
+ "ext-ftp": "*",
+ "aws/aws-sdk-php": "^3.325",
+ "google/cloud-storage": "*",
+ "ext-json": "*"
+ },
+ "suggest": {
}
- ],
- "autoload": {
- "psr-4": {
- "Cubist\\Net\\": "src"
- }
- },
- "authors": [
- {
- "name": "Vincent Vanwaelscappel",
- "email": "vincent@cubedesigners.com"
- }
- ],
- "require": {
- "php": ">=7.0.0",
- "ext-ssh2": "*",
- "cubist/util": "dev-master",
- "ext-ftp": "*",
- "aws/aws-sdk-php": "^3.325",
- "google/cloud-storage": "*"
- },
- "suggest": {
-
- }
}
*/
protected function createClient(&$data)
{
- return new StorageClient(['keyFile' => json_decode($this->getServer()->gcs_service_account_key, true)]);
+ return new StorageClient(['keyFile' => json_decode($this->getServer()->getGCSServiceAccountKey(), true)]);
}