Skip to content

Commit

Permalink
space class getter
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa committed Jul 10, 2024
1 parent 6943ade commit b32e953
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Space.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b32e953

Please sign in to comment.