content = $value; } /** * @return array{ * index: string, * type: string, * alias: ?string, * tag: ?string, * id: ?int, * content?: string, * checked?: bool, * } * @since 30.0.0 */ public function jsonSerialize(): array { $jsonProperties = parent::jsonSerialize(); return array_merge($jsonProperties, ['content' => $this->content]); } }