1 | <?php |
||
5 | class Acl |
||
6 | { |
||
7 | |||
8 | private $possibleOptions = [ |
||
9 | "private", |
||
10 | "public-read", |
||
11 | "public-read-write", |
||
12 | "aws-exec-read", |
||
13 | "authenticated-read", |
||
14 | "bucket-owner-read", |
||
15 | "bucket-owner-full-control", |
||
16 | "log-delivery-write" |
||
17 | ]; |
||
18 | |||
19 | private $name; |
||
20 | |||
21 | public function __construct($acl) |
||
25 | |||
26 | public function setName($acl) |
||
34 | |||
35 | public function getName() |
||
39 | |||
40 | } |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.