- AdditionnalData for buttons
- refresh manga metadata and chapters
This commit is contained in:
Jérémy Guillot
2024-07-05 19:03:16 +02:00
parent 3012adfee7
commit 586ebdb126
14 changed files with 283 additions and 107 deletions

View File

@@ -2,13 +2,10 @@
namespace App\Message;
class DownloadChapter
readonly class DownloadChapter
{
private int $chapterId;
public function __construct(int $chapterId)
public function __construct(private int $chapterId)
{
$this->chapterId = $chapterId;
}
public function getChapterId(): int

View File

@@ -0,0 +1,15 @@
<?php
namespace App\Message;
readonly class RefreshMetadata
{
public function __construct(private int $mangaId)
{
}
public function getMangaId(): int
{
return $this->mangaId;
}
}