\S3Facade
Class S3Facade Provides utility methods for working with S3Client
Synopsis
class S3Facade
{
- // members
- public $migrationFolders;
- private $s3Config;
- private S3Client $s3Client;
- private CloudFrontClient $cfClient;
- // methods
- public S3Client setupS3Client()
- public CloudFrontClient setupCloudFrontClient()
- private array s3Config()
- public array s3BucketURL()
- public void InvalidateCache()
- public mixed getBucket()
- public mixed getRegion()
Members
private
- $cfClient — \Aws\S3\CloudFrontClient
- $s3Client — \Aws\S3\S3Client
- $s3Config — array
public
- $migrationFolders — array
Methods
private
- s3Config() — Returns the S3 config
public
- InvalidateCache() — Invalidates CloudFront cache
- getBucket() — Returns the name of the S3 bucket
- getRegion() — Returns the region of the S3 bucket
- s3BucketURL() — Returns the S3 bucket url from config
- setupCloudFrontClient() — Sets up and returns and CloudFrontClientClient
- setupS3Client() — Sets up and returns a new S3Client