class
Illuminate
/
Filesystem
/
AwsS3V3Adapter
AwsS3V3Adapter
Extends
Uses
Properties
protected
$client Aws\...\S3Client
The AWS S3 client.
Default: null
Methods
public
__construct ( League\...\FilesystemOperator $driver , League\...\AwsS3V3Adapter $adapter , array $config , Aws\...\S3Client $client ) : void
Create a new AwsS3V3FilesystemAdapter instance.
Parameters
- $driver League\...\FilesystemOperator
- $adapter League\...\AwsS3V3Adapter
- $config array
- $client Aws\...\S3Client
public
url ( $path ) : string
Get the URL for the file at the given path.
Parameters
- $path string
public
providesTemporaryUrls ( ) : bool
Determine if temporary URLs can be generated.
public
temporaryUrl ( $path , $expiration , array $options ) : string
Get a temporary URL for the file at the given path.
Parameters
- $path string
- $expiration DateTimeInterface
- $options array
public
temporaryUploadUrl ( $path , $expiration , array $options ) : array
Get a temporary upload URL for the file at the given path.
Parameters
- $path string
- $expiration DateTimeInterface
- $options array
public
getClient ( ) : Aws\...\S3Client
Get the underlying S3 client.