Gets the publicly accessible URL of an Amazon S3 object.
public getUrl ( string $key, array $options = [] ) : string | ||
$key | string | Object key |
$options | array | Associative array of options used to buld the URL - expires: The time at which the URL should expire represented as a UNIX timestamp - Any options available in the Amazon S3 GetObject operation may be specified. |
return | string |