blob: 96341d041d1d04ee852c5c8fa621d76ebe6a7e03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
namespace Matrix\Data\Room;
class TopicContentBlock implements \JsonSerializable
{
/**
* @param TextualRepresentation[] $text
*/
public function __construct(
private array $text,
)
{}
public function jsonSerialize(): array
{
return [
"m.text" => $this->text,
];
}
}
|