diff options
Diffstat (limited to 'matrix-specification/Responses/WellKnownMatrixClientGetResponse.php')
| -rw-r--r-- | matrix-specification/Responses/WellKnownMatrixClientGetResponse.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/matrix-specification/Responses/WellKnownMatrixClientGetResponse.php b/matrix-specification/Responses/WellKnownMatrixClientGetResponse.php new file mode 100644 index 0000000..769268f --- /dev/null +++ b/matrix-specification/Responses/WellKnownMatrixClientGetResponse.php @@ -0,0 +1,18 @@ +<?php + +namespace Matrix\Responses; + +use Matrix\Data\DiscoveryInformation; + +class WellKnownMatrixClientGetResponse implements \JsonSerializable +{ + public function __construct( + private DiscoveryInformation $discoveryInformation, + ) + {} + + public function jsonSerialize(): array + { + return $this->discoveryInformation; + } +} |
