public function restore($params)
{
return User::withTrashed()->find(6)->restore();
}
class User extends Model
{
use SnakeCaseToCamelCaseTrait, SoftDeletes;
protected $table = 'users';
protected $guarded = ['id'];
protected $dates = ['created_at', 'updated_at', 'deleted_at'];
}