1 | <?php |
||
13 | trait AclAwareTrait |
||
14 | { |
||
15 | /** |
||
16 | * The ACL service. |
||
17 | * |
||
18 | * @var Acl |
||
19 | */ |
||
20 | private $acl; |
||
21 | |||
22 | /** |
||
23 | * Set the Access Control List service. |
||
24 | * |
||
25 | * @param Acl $acl The ACL service. |
||
26 | * @return void |
||
27 | */ |
||
28 | protected function setAcl(Acl $acl) |
||
32 | |||
33 | /** |
||
34 | * Retrieve the Access Control List service. |
||
35 | * |
||
36 | * @throws RuntimeException If the authenticator was not previously set. |
||
37 | * @return Acl |
||
38 | */ |
||
39 | protected function acl() |
||
50 | } |
||
51 |