Documentation

StorageInterface

Table of Contents

Methods

getBucketContents()  : array<string|int, mixed>
Get the contents of the bucket
getSignedUrl()  : string
Get the signed URL for the given object

Methods

getBucketContents()

Get the contents of the bucket

public getBucketContents(string $prefix) : array<string|int, mixed>
Parameters
$prefix : string
  • The prefix
Return values
array<string|int, mixed>
  • The bucket contents

getSignedUrl()

Get the signed URL for the given object

public getSignedUrl(string $path, DateTime $expiration) : string
Parameters
$path : string
  • The file path
$expiration : DateTime
  • The expiration time
Return values
string
  • The signed URL

        
On this page

Search results