| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class User extends AbstractEntity |
||
| 6 | { |
||
| 7 | const ENTITY_TYPE = 'User'; |
||
| 8 | |||
| 9 | protected $id; |
||
| 10 | |||
| 11 | protected $first_name; |
||
| 12 | |||
| 13 | protected $last_name; |
||
| 14 | |||
| 15 | protected $username; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return mixed |
||
| 19 | */ |
||
| 20 | public function getId() |
||
| 21 | { |
||
| 22 | return $this->id; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | public function getFirstName() |
||
| 29 | { |
||
| 30 | return $this->first_name; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getLastName() |
||
| 37 | { |
||
| 38 | return $this->last_name; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public function getUserName() |
||
| 47 | } |
||
| 48 | } |
||
| 49 |