Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
6 | class User extends UserAbstract implements UserInterface |
||
7 | { |
||
8 | |||
9 | /** |
||
10 | * @return string The user display or login name |
||
11 | */ |
||
12 | 15 | public function __toString() |
|
13 | { |
||
14 | 15 | return $this->getDisplayName() ?: $this->getLoginName(); |
|
15 | } |
||
16 | |||
17 | |||
18 | /** |
||
19 | * Returns a concatenation of the users' first and last name. |
||
20 | * |
||
21 | * @return string |
||
22 | * @uses getFirstName() |
||
23 | * @uses getLastName() |
||
24 | */ |
||
25 | 5 | public function getFullName() { |
|
27 | } |
||
28 | |||
32 |