PHP Class Webiny\Component\Storage\Tests\Mocks\S3Mock

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: Webiny/Framework

Public Methods

Method Description
__construct ( $accessKeyId, $secretAccessKey )
deleteObject ( $bucket, $key, array $params = [] )
doesObjectExist ( $bucket, $key, array $params = [] )
getObject ( $bucket, $key, array $params = [] )
putObject ( $bucket, $key, $content, array $params = [] )

Method Details

__construct() public method

public __construct ( $accessKeyId, $secretAccessKey )

deleteObject() public method

public deleteObject ( $bucket, $key, array $params = [] )
$params array

doesObjectExist() public method

public doesObjectExist ( $bucket, $key, array $params = [] )
$params array

getObject() public method

public getObject ( $bucket, $key, array $params = [] )
$params array

putObject() public method

public putObject ( $bucket, $key, $content, array $params = [] )
$params array