ETA = $ETA; $this->ETD = $ETD; $this->type = $type; $this->issue = $issue; } /** * @return Carbon */ public function getETA(): Carbon { return Carbon::parse( $this->ETA); } /** * @return Carbon */ public function getETD(): Carbon { return Carbon::parse($this->ETD); } /** * @return int */ public function getType(): int { return $this->type; } /** * @return null|string */ public function getIssue(): ?string { return $this->issue; } }