summaryrefslogtreecommitdiff
path: root/matrix-specification/Data/HomeServerInformation.php
blob: 15c9f1037e576a08825626ffc0991d05691ded8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace Matrix\Data;

class HomeServerInformation implements \JsonSerializable
{
  public function __construct(
    private string $baseUrl,
  )
  {}

  public function jsonSerialize(): array
  {
    return [
      "base_url" => $this->baseUrl,
    ];
  }
}