dataParsoid->tsr = $tsr; } } /** * @inheritDoc */ public function jsonSerialize(): array { return [ 'type' => $this->getType(), 'dataParsoid' => $this->dataParsoid, 'dataMw' => $this->dataMw, ]; } }