Gaufrette\Adapter\AwsS3::__construct PHP Method

__construct() public method

public __construct ( S3Client $service, $bucket, array $options = [], $detectContentType = false )
$service Aws\S3\S3Client
$options array
    public function __construct(S3Client $service, $bucket, array $options = array(), $detectContentType = false)
    {
        $this->service = $service;
        $this->bucket = $bucket;
        $this->options = array_replace(array('create' => false, 'directory' => '', 'acl' => 'private'), $options);
        $this->detectContentType = $detectContentType;
    }