Added:
- turbo + code adaptation - cover & thumbnails download
This commit is contained in:
@@ -52,6 +52,9 @@ class Manga
|
||||
#[ORM\Column(length: 255, nullable: true)]
|
||||
private ?string $status = null;
|
||||
|
||||
#[ORM\Column(length: 255, nullable: true)]
|
||||
private ?string $thumbnailUrl = null;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->chapters = new ArrayCollection();
|
||||
@@ -234,4 +237,16 @@ class Manga
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getThumbnailUrl(): ?string
|
||||
{
|
||||
return $this->thumbnailUrl;
|
||||
}
|
||||
|
||||
public function setThumbnailUrl(?string $thumbnailUrl): static
|
||||
{
|
||||
$this->thumbnailUrl = $thumbnailUrl;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user