PHP Class Craft\Imager_AwsService

Inheritance: extends craft\BaseApplicationComponent
Afficher le fichier Open project: aelvan/Imager-Craft

Méthodes publiques

Свойство Type Description
$s3

Méthodes publiques

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

Private Methods

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

Method Details

__construct() public méthode

Constructor
public __construct ( )

invalidateCloudfrontPaths() public méthode

Invalidates paths in a cloudfront distribution
public invalidateCloudfrontPaths ( $paths ) : boolean
$paths
Résultat boolean

uploadToAWS() public méthode

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

Property Details

$s3 public_oe property

public $s3