*/ public function tasksOf(int $jobId): array; /** * Null when the task does not exist or belongs to another job. */ public function findTask(int $jobId, int $taskId): ?TaskSummary; }