public function __construct(Carbon $startDate, Carbon $endDate) { $this->startDate = $startDate; $this->endDate = $endDate; }