- final public function __construct() — Construct a new storage engine.
- public function writeFile($data, $params) — Writes file data into Amazon S3.
- public function readFile($handle) — Load a stored blob from Amazon S3.
- public function deleteFile($handle) — Delete a blob from Amazon S3.
- private function getBucketName() — Retrieve the S3 bucket name.
- private function newS3API() — Create a new S3 API object.
| string | Unique string for this engine, max length 32. |
This method is not documented.
This method is not documented.
| bool | True if this engine can support new writes. |
| bool | `true` if the engine has a filesize limit. |
| int | Maximum storable file size, in bytes. |
| bool | True if this is a test engine. |
| bool | True if this is a chunk engine. |
| string | $data | The file data to write. |
| array | $params | File metadata (name, author), if available. |
| string | Unique string which identifies the stored file, max length 255. |
| string | $handle | The handle returned from @{method:writeFile} when the file was written. |
| string | $handle | The handle returned from @{method:writeFile} when the file was written. |
| int | $length | File size in bytes. |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
| int|null | Byte size, or `null` if there is no chunk support. |
This method is not documented.
| PhabricatorFile | $file | |
| $begin | |
| $end | |
Copyright © LEAD Solutions B.V.