for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace App\Modules\V1\Notifications;
use Illuminate\Notifications\DatabaseNotification;
use Illuminate\Database\Eloquent\SoftDeletes;
class Notification extends DatabaseNotification{
public function getCreatedAtAttribute($value)
{
return \Carbon\Carbon::parse($value)->addHours(\Session::get('timeZoneDiff'))->toDateTimeString();
}
public function getUpdatedAtAttribute($value)
public function getDeletedAtAttribute($value)
public function getReadAtAttribute($value)
return ! $value ? false : \Carbon\Carbon::parse($value)->addHours(\Session::get('timeZoneDiff'))->toDateTimeString();