Свойство | Тип | Описание | |
---|---|---|---|
$bucket | |||
$ensureBucket | |||
$metadata | |||
$options | |||
$service |
Метод | Описание | |
---|---|---|
__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 ) |
Метод | Описание | |
---|---|---|
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 | ||
Результат | string |
public setDirectory ( string $directory ) | ||
$directory | string |