Свойство | Type | Description | |
---|---|---|---|
$bucket | |||
$ensureBucket | |||
$metadata | |||
$options | |||
$service |
Méthode | Description | |
---|---|---|
__construct ( |
||
delete ( $key ) | ||
exists ( $key ) | ||
getAcl ( ) : string | Get the acl used when writing files. | |
getDirectory ( ) : string | Get the directory the user has access to. | |
getMetadata ( $key ) | ||
isDirectory ( $key ) | ||
keys ( ) | ||
mtime ( $key ) | ||
read ( $key ) | ||
rename ( $sourceKey, $targetKey ) | ||
setAcl ( string $acl ) | Set the acl used when writing files. | |
setDirectory ( string $directory ) | Set the base directory the user will have access to. | |
setMetadata ( $key, $metadata ) | ||
write ( $key, $content ) |
Méthode | Description | |
---|---|---|
computePath ( string $key ) : string | Computes the path for the specified key taking the bucket in account. | |
ensureBucketExists ( ) | Ensures the specified bucket exists. If the bucket does not exists and the create parameter is set to true, it will try to create the bucket. |
public __construct ( |
||
$service |
public getDirectory ( ) : string | ||
Résultat | string |
public setDirectory ( string $directory ) | ||
$directory | string |