PIMS/app/Modules/Movies/Services/Contracts/GetGenreWithMoviesServiceInterface.php

17 lines
445 B
PHP
Raw Normal View History

2025-12-07 03:49:26 +00:00
<?php
namespace App\Modules\Movies\Services\Contracts;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
use App\Modules\Movies\Models\Genre;
interface GetGenreWithMoviesServiceInterface
{
/**
* @param int $id Genre ID
* @param array{q?: string|null, per_page?: int|null} $params
* @return array{entity: Genre, movies: LengthAwarePaginator}
*/
public function handle(int $id, array $params = []): array;
}