PHP Class Craft\Imager_AwsService

Inheritance: extends craft\BaseApplicationComponent
显示文件 Open project: aelvan/Imager-Craft

Public Properties

Property Type Description
$s3

Public Methods

Method Description
__construct ( ) Constructor
invalidateCloudfrontPaths ( $paths ) : boolean Invalidates paths in a cloudfront distribution
uploadToAWS ( $filePath ) Upload file to AWS

Private Methods

Method Description
_getAWSStorageClass ( ) : string Get AWS storage type
_getS3Object ( ) : null | S3 Returns the S3 object

Method Details

__construct() public method

Constructor
public __construct ( )

invalidateCloudfrontPaths() public method

Invalidates paths in a cloudfront distribution
public invalidateCloudfrontPaths ( $paths ) : boolean
$paths
return boolean

uploadToAWS() public method

Upload file to AWS
public uploadToAWS ( $filePath )
$filePath

Property Details

$s3 public_oe property

public $s3