Example #1
0
 private function markActivationAsCompleted($token, $entry)
 {
     $activation = Activation::where('code', $token)->whereEntryId($entry->id)->first();
     $activation->completed = 1;
     $activation->save();
 }