$meta reine Anzeigetexte aus Fachdaten * @param list $missing Hinweise für die Redaktion */ public function __construct( public string $title, public ?string $summary, public string $kind, public ?string $badge, public array $meta, public ?string $url, public bool $public, public ?string $notice = null, public ?string $visual = null, public ?string $visualLabel = null, public ?string $previewImage = null, public array $missing = [], public ?string $style = null, ) {} public function withText(?string $title, ?string $summary): self { return new self( title: $title ?? $this->title, summary: $summary ?? $this->summary, kind: $this->kind, badge: $this->badge, meta: $this->meta, url: $this->url, public: $this->public, notice: $this->notice, visual: $this->visual, visualLabel: $this->visualLabel, previewImage: $this->previewImage, missing: $this->missing, style: $this->style, ); } }