- Started working on decoupling QueryBuilder from SqlQueryBuilder

- WIP on SearchRequest attributes
- Began working on removing 'Ulmus' class
- WIP on removing SQL query building from Repository (which will become SqlRepository)
This commit is contained in:
Dave Mc Nicoll committed 2024-04-17 15:54:48 -04:00
1 parent 4571517dc8
commit 9fdebf454d
21 files changed
+114 -127

No files matched your search

@@ -0,0 +1,15 @@
<?php
namespace Ulmus\QueryBuilder;
use Ulmus\Query\QueryFragmentInterface;
interface QueryBuilderInterface
{
public function push(QueryFragmentInterface $queryFragment) : self;
public function pull(QueryFragmentInterface $queryFragment) : self;
public function render(bool $skipToken = false) /* mixed */;
public function reset() : void;
public function getFragment(string $class, int $index = 0) : ? QueryFragmentInterface;
public function removeFragment(QueryFragmentInterface|array|\Stringable|string $fragment) : void;
}