dateFrom)->format('d.m.Y'); } public function niceDateUntil(): string { return Carbon::parse($this->dateUntil)->format('d.m.Y'); } public function dateRange(): string { return implode(' - ', [$this->niceDateFrom(), $this->niceDateUntil()]); } }