Total Complexity | 6 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | final class System implements IUser { |
||
23 | |||
24 | |||
25 | /** |
||
26 | * @brief This implementation returns always `null`. |
||
27 | * @return null |
||
28 | */ |
||
29 | public function getId() { |
||
31 | } |
||
32 | |||
33 | |||
34 | /** |
||
35 | * @brief This implementation returns always `false`. |
||
36 | * @param[in] string $id The id to match. |
||
37 | * @return bool |
||
38 | */ |
||
39 | public function match($id) { |
||
41 | } |
||
42 | |||
43 | |||
44 | /** |
||
45 | * @brief This implementation returns always `true`. |
||
46 | * @return bool |
||
47 | */ |
||
48 | public function has(IPermission $permission) { |
||
49 | return TRUE; |
||
50 | } |
||
51 | |||
52 | |||
53 | /** |
||
54 | * @brief This implementation returns always `false`. |
||
55 | * @return bool |
||
56 | */ |
||
57 | public function isGuest() { |
||
58 | return FALSE; |
||
59 | } |
||
60 | |||
61 | |||
62 | /** |
||
63 | * @brief This implementation returns always `false`. |
||
64 | * @return bool |
||
65 | */ |
||
66 | public function isMember() { |
||
68 | } |
||
69 | |||
70 | |||
71 | /** |
||
72 | * @brief This method is never called for this class, but in case it will return an empty collection. |
||
73 | * @return RoleCollection |
||
74 | */ |
||
75 | public function getRoles() { |
||
78 | } |
||
79 | |||
80 | } |