From b19a8f63ad727a3633885d3f2b81edf8181a53b9 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 25 Sep 2025 13:38:24 +0200 Subject: matrix-specification split work in progress --- matrix-specification/Request.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 matrix-specification/Request.php (limited to 'matrix-specification/Request.php') diff --git a/matrix-specification/Request.php b/matrix-specification/Request.php new file mode 100644 index 0000000..c9f315f --- /dev/null +++ b/matrix-specification/Request.php @@ -0,0 +1,26 @@ + + */ + abstract public function getQueryParameters(): array; + + /** + * @return array + */ + abstract public function getBody(): array; + + public function jsonSerialize(): array + { + return $this->getBody(); + } +} -- cgit v1.2.3