Exemplo n.º 1
0
 public static function idMemberTable()
 {
     $membership_id = AppHelper::findMemberId();
     $id_member_table = Member::where('membership_id', '=', $membership_id)->get();
     foreach ($id_member_table as $id) {
         $id = $id['id'];
     }
     $id = Member::find($id);
     return $id->id;
 }