25 lines
603 B
PHP
25 lines
603 B
PHP
<?php
|
|
|
|
namespace App\Repositories\Contracts;
|
|
|
|
use App\Models\GuideCard;
|
|
use Illuminate\Database\Eloquent\Collection;
|
|
use Illuminate\Pagination\LengthAwarePaginator;
|
|
|
|
/**
|
|
* @extends BaseRepositoryInterface<GuideCard>
|
|
*/
|
|
interface GuideCardRepositoryInterface extends BaseRepositoryInterface
|
|
{
|
|
/**
|
|
* @param array<string, mixed> $filters
|
|
* @return LengthAwarePaginator<int, GuideCard>
|
|
*/
|
|
public function paginate(array $filters = [], int $perPage = 15): LengthAwarePaginator;
|
|
|
|
/**
|
|
* @return Collection<int, GuideCard>
|
|
*/
|
|
public function active(): Collection;
|
|
}
|