2amigos/yii2-resource-manager-component — pull request #4 by franklod (2014-10-10 18:33:18+00:00)
Title: add return on save function in class AmazonS3ResourceManager

public function save($file, $name, $options = [])
{
$options = ArrayHelper::merge([
'Bucket' => $this->bucket,
'Key' => $name,
'SourceFile' => $file->tempName,
'ACL' => CannedAcl::PUBLIC_READ // default to ACL public read
], $options);

return $this->getClient()->putObject($options);
}