Skip to content

Commit

Permalink
the acl constants have been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
frostealth committed May 30, 2016
1 parent 240c91b commit 7293c62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class MyCommand implements Command, HasBucket
protected $something;
public function getBucket(): string
public function getBucket()
{
return $this->bucket;
}
Expand All @@ -176,7 +176,7 @@ class MyCommand implements Command, HasBucket
return $this;
}
public function getSomething(): string
public function getSomething()
{
return $this->something;
}
Expand Down Expand Up @@ -241,7 +241,7 @@ class MyPlainCommand implements PlainCommand, HasBucket
{
protected $args = [];
public function getBucket(): string
public function getBucket()
{
return $this->args['Bucket'] ?? '';
}
Expand All @@ -253,12 +253,12 @@ class MyPlainCommand implements PlainCommand, HasBucket
return $this;
}
public function getSomething(): string
public function getSomething()
{
return $this->args['something'] ?? '';
}
public function setSomething(string $something)
public function setSomething($something)
{
$this->args['something'] = $something;
Expand All @@ -283,4 +283,5 @@ allow to execute this command immediately: `$command->setSomething('some value')
## License
Yii2 AWS S3 is licensed under the MIT License.
See the [LICENSE](LICENSE) file for more information.
8 changes: 0 additions & 8 deletions src/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@
*/
class Service extends Component implements ServiceInterface
{
const ACL_PRIVATE = 'private';
const ACL_PUBLIC_READ = 'public-read';
const ACL_PUBLIC_READ_WRITE = 'public-read-write';
const ACL_AWS_EXEC_READ = 'aws-exec-read';
const ACL_AUTHENTICATED_READ = 'authenticated-read';
const ACL_BUCKET_OWNER_READ = 'bucket-owner-read';
const ALC_BUCKET_OWNER_FULL_CONTROL = 'bucket-owner-full-control';

/** @var string */
public $defaultBucket = '';

Expand Down

0 comments on commit 7293c62

Please sign in to comment.