\S3Bucket
Synopsis
class S3Bucket
extends CloudBucket
{
- // constants
- const CONTAINER = 'Container';
- const REGION = 'Region';
- const API_KEY = 'ApiKey';
- const API_SECRET = 'ApiSecret';
- const FORCE_DL = 'ForceDownload';
- // members
- protected $client;
- // methods
- public void __construct()
- public void put()
- public void delete()
- public void rename()
- public string getContents()
- public string getTemporaryLinkFor()
- public bool checkExists()
- public int getFileSize()
- protected EntityBody getFileObjectFor()
Hierarchy
Extends
- CloudBucket
Constants
Name | Value |
---|---|
CONTAINER | 'Container' |
REGION | 'Region' |
API_KEY | 'ApiKey' |
API_SECRET | 'ApiSecret' |
FORCE_DL | 'ForceDownload' |
Members
protected
- $client
Methods
protected
public
- __construct()
- checkExists()
- delete()
- getContents()
- getFileSize()
- getTemporaryLinkFor() — This version just returns a normal link. I'm assuming most buckets will implement this but I want it to be optional.
- put()
- rename()