checked = $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, ['checked' => $this->checked]); } }