This commit is contained in:
pbao9
2026-01-30 17:08:59 +07:00
parent 69923ea016
commit 72b690f22e
15 changed files with 370 additions and 211 deletions
@@ -4,7 +4,13 @@ namespace App\Repositories\Module\Host;
use App\Repositories\BaseRepositoryInterface;
interface HostRepositoryInterface extends BaseRepositoryInterface{
public function filter(array $data = [],array $relationships = [],array $withCount = [],array $select = ['*']);
public function filter(
array $data = [],
array $relationships = [],
array $withCount = [],
array $select = ['*'],
bool $returnQuery = false
);
public function findWithRelationships(int $id = 0, array $relationships = [],array $withCount = [], array $withSum = []);
public function findBy(string $key = '',string|int|null $value = '' );