From b32e9531d508a7d9d679a1915341c24f202674dc Mon Sep 17 00:00:00 2001 From: dmitry krokhin Date: Wed, 10 Jul 2024 18:25:25 +0300 Subject: [PATCH] space class getter --- src/Space.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Space.php b/src/Space.php index 7fcc92a..65275cc 100644 --- a/src/Space.php +++ b/src/Space.php @@ -257,6 +257,11 @@ public function findOrFail(Criteria|array|null $criteria = null) throw new Exception("Not found"); } + public function getClass(): ?string + { + return $this->class; + } + public function getCriteria(Criteria|array|null $criteria = null, ?int $limit = null): Criteria { if (!$criteria) {