auth()->user()->isVerified()
public function getWithNewOrders() { return $this->verified() ->with([‘orders’ => function ($q) { $q->where(‘created_at’, ‘>’, Carbon::today()->subWeek()); }]) ->get(); }
本作品採用《CC 協議》,轉載必須註明作者和本文連結
本作品採用《CC 協議》,轉載必須註明作者和本文連結