for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LivePersonInc\LiveEngageLaravel\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
class Agent extends Model
{
protected $guarded = [];
public function getLastUpdatedTimeAttribute()
return new Carbon($this->attributes['lastUpdatedTime']);
}
public function getCurrentStatusStartTimeAttribute()
return new Carbon($this->attributes['currentStatusStartTime']);
public function getCurrentStatusReasonStartTimeAttribute()
return new Carbon($this->attributes['currentStatusReasonStartTime']);