dateTime = $dateTime; } public function canEditBegin(): bool { return false; } public function canEditEnd(): bool { return false; } public function canEditDuration(): bool { return false; } public function canUpdateTimesWithAPI(): bool { return false; } public function create(Timesheet $timesheet, Request $request): void { if (null === $timesheet->getBegin()) { $timesheet->setBegin($this->dateTime->createDateTime()); } } public function getId(): string { return 'punch'; } public function canSeeBeginAndEndTimes(): bool { return true; } }