1 | <?php |
||
24 | abstract class AbstractIdentity extends Row implements IdentityInterface |
||
25 | { |
||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | abstract public function getPrivileges() : array; |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function getId() : ?int |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function hasPrivilege($module, $privilege) : bool |
||
48 | } |
||
49 |