update deploy
This commit is contained in:
24
app/Repositories/Contracts/HeroSlideRepositoryInterface.php
Normal file
24
app/Repositories/Contracts/HeroSlideRepositoryInterface.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Contracts;
|
||||
|
||||
use App\Models\HeroSlide;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Pagination\LengthAwarePaginator;
|
||||
|
||||
/**
|
||||
* @extends BaseRepositoryInterface<HeroSlide>
|
||||
*/
|
||||
interface HeroSlideRepositoryInterface extends BaseRepositoryInterface
|
||||
{
|
||||
/**
|
||||
* @param array<string, mixed> $filters
|
||||
* @return LengthAwarePaginator<int, HeroSlide>
|
||||
*/
|
||||
public function paginate(array $filters = [], int $perPage = 15): LengthAwarePaginator;
|
||||
|
||||
/**
|
||||
* @return Collection<int, HeroSlide>
|
||||
*/
|
||||
public function active(): Collection;
|
||||
}
|
||||
Reference in New Issue
Block a user