| Total Complexity | 5 | 
| Total Lines | 32 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 8 | class Agent extends Model | ||
| 9 | { | ||
| 10 | protected $guarded = []; | ||
| 11 | |||
| 12 | protected $userTypes = [ | ||
| 13 | 1 => 'Human', | ||
| 14 | 2 => 'Bot' | ||
| 15 | ]; | ||
| 16 | |||
| 17 | public function getUserTypeNameAttribute() | ||
| 18 | 	{ | ||
| 19 | return $this->userTypes[$this->attributes['userTypeId']]; | ||
| 20 | } | ||
| 21 | |||
| 22 | public function getLastUpdatedTimeAttribute() | ||
| 25 | } | ||
| 26 | |||
| 27 | public function getCurrentStatusStartTimeAttribute() | ||
| 30 | } | ||
| 31 | |||
| 32 | public function getCurrentStatusReasonStartTimeAttribute() | ||
| 33 | 	{ | ||
| 34 | return new Carbon($this->attributes['currentStatusReasonStartTime']); | ||
| 35 | } | ||
| 36 | |||
| 37 | public function getStatusMinutesAttribute() | ||
| 40 | } | ||
| 41 | } |