new ReimbursementEntry( $expense->userId, $expense->jobId, $expense->category->value, $expense->spentOn, $expense->description, $expense->destination, $expense->purpose, $expense->kilometerTenths, $expense->costCents, ), $this->queries->employeePaidBetween($period->from, $period->to)); } public function costsByJob(ReportPeriod $period): array { return $this->queries->costsByJobBetween($period->from, $period->to); } }