GuestRole::getDescription()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * @file GuestRole.php
5
 * @brief This file contains the GuestRole class.
6
 * @details
7
 * @author Filippo F. Fadda
8
 */
9
10
11
namespace Daikengo\Role;
12
13
14
/**
15
 * @brief A guest is an anonymous user.
16
 * @attention This role cannot be granted to anyone, but instead the security system associates this role to every guest
17
 * of the site.
18
 * @nosubgrouping
19
 */
20
class GuestRole extends AbstractRole {
21
22
23
  public function getDescription() {
24
    return "This role is granted to all the anonymous users.";
25
  }
26
27
}