*/ public function toArray(): array { return [ 'type' => 'question', 'question' => $this->question, ]; } public function getQuestion(): string { return $this->question; } }