$cells by Y-m-d */ public function __construct( public BookableTask $task, public array $cells, public int $totalQuarters, public bool $pinned, ) {} public function cell(string $day): ?TimesheetCell { return $this->cells[$day] ?? null; } /** * The laskutusperuste new entries get: from the job's payment basis. */ public function defaultBillingModel(): EntryBillingModel { return EntryBillingModel::forPaymentBasis($this->task->paymentBasis); } }