$minutesByDay Y-m-d => minutes. */ public function replaceFor(int $taskId, int $userId, array $minutesByDay): void; /** * Removes the task's bookings, except those of the given assignees. * * @param list $keepUserIds */ public function deleteForTask(int $taskId, array $keepUserIds = []): void; /** * Minutes the user's other tasks that are not done book per day. * * @return array Y-m-d => minutes. */ public function otherOpenMinutes(int $userId, string $from, string $to, int $exceptTaskId): array; }