|
@@ 617-620 (lines=4) @@
|
| 614 |
|
|
| 615 |
|
$eventLd = $document->getBody(); |
| 616 |
|
|
| 617 |
|
if ($translationApplied->getTitle() !== null) { |
| 618 |
|
$eventLd->name->{$translationApplied->getLanguage()->getCode( |
| 619 |
|
)} = $translationApplied->getTitle()->toNative(); |
| 620 |
|
} |
| 621 |
|
|
| 622 |
|
if ($translationApplied->getLongDescription() !== null) { |
| 623 |
|
$eventLd->description->{$translationApplied->getLanguage()->getCode( |
|
@@ 622-625 (lines=4) @@
|
| 619 |
|
)} = $translationApplied->getTitle()->toNative(); |
| 620 |
|
} |
| 621 |
|
|
| 622 |
|
if ($translationApplied->getLongDescription() !== null) { |
| 623 |
|
$eventLd->description->{$translationApplied->getLanguage()->getCode( |
| 624 |
|
)} = $translationApplied->getLongDescription()->toNative(); |
| 625 |
|
} |
| 626 |
|
|
| 627 |
|
$this->repository->save($document->withBody($eventLd)); |
| 628 |
|
} |