PHP Class Webiny\Component\Storage\Driver\AmazonS3\S3StorageDriver

Make sure you sync your system time with amazon: ntpdate -u 0.amazon.pool.ntp.org ntpdate -d 0.amazon.pool.ntp.org
Inheritance: implements Webiny\Component\Storage\Driver\DriverInterface, implements Webiny\Component\Storage\Driver\SizeAwareInterface, use trait Webiny\Component\StdLib\StdObjectTrait
Afficher le fichier Open project: Webiny/Framework

Protected Properties

Свойство Type Description
$bucket
$cdnDomain
$meta
$recentFiles
$recentKey
$s3Client Webiny\Component\Amazon\S3

Méthodes publiques

Méthode Description
__construct ( array | ArrayObject $config ) Constructor
createDateFolderStructure ( )
deleteKey ( $key )
getContents ( $key )
getKeys ( $key = '', $recursive = false )
getRecentKey ( )
getSize ( $key )
getTimeModified ( $key )
getURL ( $key )
keyExists ( $key )
renameKey ( $sourceKey, $targetKey )
setContents ( $key, $contents, $append = false )

Method Details

__construct() public méthode

Constructor
public __construct ( array | ArrayObject $config )
$config array | Webiny\Component\StdLib\StdObject\ArrayObject\ArrayObject

createDateFolderStructure() public méthode

deleteKey() public méthode

public deleteKey ( $key )

getContents() public méthode

public getContents ( $key )

getKeys() public méthode

public getKeys ( $key = '', $recursive = false )

getRecentKey() public méthode

public getRecentKey ( )

getSize() public méthode

public getSize ( $key )

getTimeModified() public méthode

public getTimeModified ( $key )

getURL() public méthode

public getURL ( $key )

keyExists() public méthode

public keyExists ( $key )

renameKey() public méthode

public renameKey ( $sourceKey, $targetKey )

setContents() public méthode

public setContents ( $key, $contents, $append = false )

Property Details

$bucket protected_oe property

protected $bucket

$cdnDomain protected_oe property

protected $cdnDomain

$meta protected_oe property

protected $meta

$recentFiles protected_oe property

protected $recentFiles

$recentKey protected_oe property

protected $recentKey

$s3Client protected_oe property

protected S3,Webiny\Component\Amazon $s3Client
Résultat Webiny\Component\Amazon\S3