mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
- AppServiceProvider is needs more work to wire in new services - todo: more dtos - todo: add unit tests - todo: add more integration tests
15 lines
427 B
PHP
15 lines
427 B
PHP
<?php
|
|
|
|
namespace App\Services;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
interface SearchService
|
|
{
|
|
function search(string $searchTerms, ?string $orderByFields = null, bool $sortDirectionDescending = false): \Laravel\Scout\Builder|\Illuminate\Database\Eloquent\Builder;
|
|
|
|
function setFilterParameters(Collection $requestParameters): self;
|
|
|
|
function query(): \Laravel\Scout\Builder|\Illuminate\Database\Eloquent\Builder;
|
|
}
|