forked from fa/breadcrumb-the-shire
Repo Interface für tests
This commit is contained in:
17
lib/Repository/Search/SearchQueryRepositoryInterface.php
Normal file
17
lib/Repository/Search/SearchQueryRepositoryInterface.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace MintyPHP\Repository\Search;
|
||||
|
||||
interface SearchQueryRepositoryInterface
|
||||
{
|
||||
/**
|
||||
* @param array<int, mixed> $params
|
||||
* @return array<int, mixed>
|
||||
*/
|
||||
public function selectRows(string $sql, array $params = []): array;
|
||||
|
||||
/**
|
||||
* @param array<int, mixed> $params
|
||||
*/
|
||||
public function selectCount(string $sql, array $params = []): int;
|
||||
}
|
||||
Reference in New Issue
Block a user