| 1 | <?php |
||
| 13 | class Acl |
||
| 14 | { |
||
| 15 | |||
| 16 | private $possibleOptions = [ |
||
| 17 | "authenticated-read", |
||
| 18 | "aws-exec-read", |
||
| 19 | "bucket-owner-full-control", |
||
| 20 | "bucket-owner-read", |
||
| 21 | "log-delivery-write", |
||
| 22 | "private", |
||
| 23 | "public-read", |
||
| 24 | "public-read-write", |
||
| 25 | ]; |
||
| 26 | |||
| 27 | private $name; |
||
| 28 | |||
| 29 | public function __construct($acl) |
||
| 33 | |||
| 34 | public function __toString() |
||
| 38 | |||
| 39 | public function setName($acl) |
||
| 48 | |||
| 49 | public function getName() |
||
| 53 | |||
| 54 | } |