Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Set environment variable for credentials location
- putenv('HOME=../');
- // Set bucket name
- $this->bucket = $bucket;
- // Create an S3Client
- $this->s3Client = new AwsS3S3Client([
- 'profile' => $this->profile,
- 'version' => $this->version,
- 'region' => $this->region
- ]);
Add Comment
Please, Sign In to add comment