| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | final class Employee extends ActiveRecord |
||
| 22 | { |
||
| 23 | public static function tableName(): string |
||
| 24 | { |
||
| 25 | return 'employee'; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getFullName(): string |
||
| 29 | { |
||
| 30 | return $this->first_name . ' ' . $this->last_name; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getDepartment(): ActiveQuery |
||
| 40 | ; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getDossier(): ActiveQuery |
||
| 52 | } |
||
| 53 | } |
||
| 54 |