public getObjectUrl ( string $bucket, string $key, mixed $expires = null, array $args = [] ) : string | ||
$bucket | string | The name of the bucket where the object is located |
$key | string | The key of the object |
$expires | mixed | The time at which the URL should expire |
$args | array | Arguments to the GetObject command. Additionally you can specify a "Scheme" if you would like the URL to use a different scheme than what the client is configured to use |
return | string | The URL to the object |