$extraTaskIds */ public function week(int $userId, string $monday, array $extraTaskIds = []): WeekSheet; /** * The user's entries on a task, newest day first. * * @return list */ public function entriesForTask(int $taskId, int $userId): array; public function hasEntries(int $taskId): bool; /** * Unapproved hours by user and week (Monday to Sunday), oldest week first. * * @return list */ public function pendingWeeks(?int $userId = null): array; /** * Weeks with approved hours from the given Monday on, newest first, * with the latest approval of each. * * @return list */ public function approvedWeeks(string $sinceMonday): array; }