Temporal Docs PHP SDK API Version 2.21 (latest release) Release notes

Documentation

S3StorageDriver
in package
implements StorageDriverInterface

FinalYes
Tags
experimental

This API is experimental and may change in the future.

Table of Contents

Interfaces

StorageDriverInterface

Constants

DEFAULT_MAX_PAYLOAD_SIZE  : mixed = 50 * 1024 * 1024
DEFAULT_NAME  : mixed = 'aws.s3driver'
TYPE  : mixed = 'aws.s3driver'
MAX_KEY_BYTES  : mixed = 1024
UNSAFE_CHARACTERS  : mixed = "/[^A-Za-z0-9!\\-_.*'()]/"

Properties

$bucket  : callable(StorageDriverStoreContext, Payload): string
$client  : S3StorageClientInterface
$maxPayloadSize  : int
$name  : string

Methods

__construct()  : mixed
getName()  : string
getType()  : string
retrieve()  : array<int, Payload>
store()  : array<int, StorageDriverClaim>
call()  : TResult
encode()  : string
objectKey()  : string

Constants

DEFAULT_MAX_PAYLOAD_SIZE

public mixed DEFAULT_MAX_PAYLOAD_SIZE = 50 * 1024 * 1024

UNSAFE_CHARACTERS

private mixed UNSAFE_CHARACTERS = "/[^A-Za-z0-9!\\-_.*'()]/"

Properties

Methods

call()

private static call(string $operation, string $bucket, string $key, callable(): TResult $request) : TResult
Parameters
$operation : string
$bucket : string
$key : string
$request : callable(): TResult
Tags
template
Return values
TResult

encode()

private static encode(string $value) : string
Parameters
$value : string
Return values
string
On this page

Search results