src/Repositories/Character/Calendar.php
public function getCharacterUpcomingCalendarEvents(int $character_id): Collection
    {

        return CharacterCalendarEvent::with('detail', 'attendees')
            ->where('character_id', $character_id)
            ->whereDate('event_date', '>', carbon()->toDateTimeString())
            ->get();
    }
public function getCharacterUpcomingCalendarEvents(int $character_id): Collection
    {

        return CharacterCalendarEvent::with('detail', 'attendees')
            ->where('character_id', $character_id)
            ->whereDate('event_date', '>', carbon()->toDateTimeString())
            ->get();
    }
public function getCharacterUpcomingCalendarEvents ( int $ character_id ) : Collection { return CharacterCalendarEvent :: with ( 'detail' , 'attendees' ) -> where ( 'character_id' , $ character_id ) -> whereDate ( 'event_date' , '>' , carbon ( ) -> toDateTimeString ( ) ) -> get ( ) ; }
Get Calendar events for a specific character.

@param int $character_id

@return \Illuminate\Support\Collection
Get Calendar events for a specific character .