From caa8bc00347a8878112b872ff79a72309fd63c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ewilan=20Rivi=C3=A8re?= Date: Sun, 26 Nov 2023 17:44:01 +0100 Subject: [PATCH] Add getContents method to Json class --- src/Utils/Json.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Utils/Json.php b/src/Utils/Json.php index 9967dde..5d2f560 100644 --- a/src/Utils/Json.php +++ b/src/Utils/Json.php @@ -30,6 +30,11 @@ public function __construct( } } + public function getContents(): mixed + { + return $this->contents; + } + /** * @return string Pretty json string */