PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.63
Timetics – Appointment Booking Calendar & Scheduling v1.0.63
1.0.62 1.0.63 1.0.61 1.0.60 1.0.59 1.0.58 1.0.57 1.0.56 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 All 64 releases
timetics / core / staffs / calendars / CalendarSyncInterface.php

CalendarSyncInterface.php in Timetics – Appointment Booking Calendar & Scheduling 1.0.63, at core/staffs/calendars/CalendarSyncInterface.php

29 lines 593 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Timetics\Core\Staffs\Calendars;
3
4 defined( 'ABSPATH' ) || exit;
5
6 /**
7 * Calendar sync interface
8 */
9 interface CalendarSyncInterface
10 {
11 /**
12 * Timetics booking to calendar
13 *
14 * @param array $bookingData Booking data
15 *
16 * @return bool
17 */
18 public function syncToCalendar(array $bookingData): bool;
19
20 /**
21 * Fetch calendar events to timetics booking
22 *
23 * @param string $teamMemberId Team member id
24 *
25 * @return array Calendar booking data
26 */
27 public function fetchBookings(string $teamMemberId): array;
28 }
29