1 | <?php |
||
30 | trait PermissionAwareTrait |
||
31 | { |
||
32 | /** |
||
33 | * permissions |
||
34 | * |
||
35 | * @var int |
||
36 | * @access protected |
||
37 | */ |
||
38 | protected $perm = PermissionAwareInterface::PERM_ALL; |
||
39 | |||
40 | /** |
||
41 | * {@inheritDoc} |
||
42 | */ |
||
43 | public function getPermissions()/*# : int */ |
||
47 | |||
48 | /** |
||
49 | * {@inheritDoc} |
||
50 | */ |
||
51 | public function setPermissions(/*# int */ $permissions) |
||
56 | |||
57 | /** |
||
58 | * {@inheritDoc} |
||
59 | */ |
||
60 | public function isReadable()/*# : bool */ |
||
64 | |||
65 | /** |
||
66 | * {@inheritDoc} |
||
67 | */ |
||
68 | public function isWritable()/*# : bool */ |
||
72 | |||
73 | /** |
||
74 | * {@inheritDoc} |
||
75 | */ |
||
76 | public function isDeletable()/*# : bool */ |
||
80 | } |
||
81 |