Spatie\GoogleCalendar\Event::find PHP 메소드

find() 공개 정적인 메소드

public static find ( string $eventId, string $calendarId = null ) : Event
$eventId string
$calendarId string
리턴 Event
    public static function find($eventId, $calendarId = null) : Event
    {
        $googleCalendar = static::getGoogleCalendar($calendarId);
        $googleEvent = $googleCalendar->getEvent($eventId);
        return static::createFromGoogleCalendarEvent($googleEvent, $calendarId);
    }