diff --git a/src/Utils/Json.php b/src/Utils/Json.php index 5d2f560..98421dc 100644 --- a/src/Utils/Json.php +++ b/src/Utils/Json.php @@ -30,6 +30,11 @@ public function __construct( } } + public static function load(string $path): self + { + return new self($path); + } + public function getContents(): mixed { return $this->contents;