Skip to content

Commit 63f26f6

Browse files
committed
Available criteria accessor added
1 parent f5033a5 commit 63f26f6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Query/WhereQuery.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,4 +543,13 @@ public function unless(mixed $value, callable $callback, ?callable $default = nu
543543

544544
return $this;
545545
}
546+
547+
/**
548+
* Get all available search criteria
549+
*
550+
* @return array|string[]
551+
*/
552+
public function getAvailableCriteria(): array {
553+
return $this->available_criteria;
554+
}
546555
}

0 commit comments

Comments
 (0)