Documentation

CannedAcl extends Enum
in package

Contains enumerable CannedAcl values

Table of Contents

Constants

AUTHENTICATED_READ  = 'authenticated-read'
BUCKET_OWNER_FULL_CONTROL  = 'bucket-owner-full-control'
BUCKET_OWNER_READ  = 'bucket-owner-read'
PRIVATE_ACCESS  = 'private'
PUBLIC_READ  = 'public-read'
PUBLIC_READ_WRITE  = 'public-read-write'

Properties

$cache  : array<string|int, mixed>

Methods

keys()  : array<string|int, mixed>
Returns the names (or keys) of all of constants in the enum
values()  : array<string|int, mixed>
Return the names and values of all the constants in the enum

Constants

AUTHENTICATED_READ

public mixed AUTHENTICATED_READ = 'authenticated-read'

BUCKET_OWNER_FULL_CONTROL

public mixed BUCKET_OWNER_FULL_CONTROL = 'bucket-owner-full-control'

BUCKET_OWNER_READ

public mixed BUCKET_OWNER_READ = 'bucket-owner-read'

PRIVATE_ACCESS

public mixed PRIVATE_ACCESS = 'private'

PUBLIC_READ

public mixed PUBLIC_READ = 'public-read'

PUBLIC_READ_WRITE

public mixed PUBLIC_READ_WRITE = 'public-read-write'

Properties

$cache

protected static array<string|int, mixed> $cache = array()

A cache of all enum values to increase performance

Methods

keys()

Returns the names (or keys) of all of constants in the enum

public static keys() : array<string|int, mixed>
Return values
array<string|int, mixed>

values()

Return the names and values of all the constants in the enum

public static values() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results