- Added SearchRequest compatibilty and began working on QueryBuilder processing

This commit is contained in:
Dave Mc Nicoll committed 2024-04-17 15:57:51 -04:00
1 parent ce4d6cdf7c
commit 4e120cea6c
20 files changed
+510 -141

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
<?php
namespace Ulmus\Api\RequestBuilder;
class Pagination extends Fragment {
public array $conditionList;
public function add($field, mixed $value) : self
{
$this->conditionList[$field] = $value;
return $this;
}
public function render(bool $skipToken = false) : string
{
return http_build_query($this->conditionList);
}
}