feat: GetChapters endpoint + tests
This commit is contained in:
parent
2f615a4936
commit
6667cc224b
13
src/Domain/Manga/Application/Query/GetMangaChapters.php
Normal file
13
src/Domain/Manga/Application/Query/GetMangaChapters.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\Manga\Application\Query;
|
||||
|
||||
readonly class GetMangaChapters
|
||||
{
|
||||
public function __construct(
|
||||
public string $mangaId,
|
||||
public ?int $page = 1,
|
||||
public ?int $limit = 20,
|
||||
public ?string $sortOrder = 'desc'
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user