feat: search results
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\ValueObject;
|
||||
namespace App\Tmdb;
|
||||
|
||||
class MediaResult
|
||||
class TmdbResult
|
||||
{
|
||||
public function __construct(
|
||||
public string $imdbId,
|
||||
public string $tvdbId,
|
||||
public string $title,
|
||||
public string $poster,
|
||||
public string $excerpt,
|
||||
public string $year,
|
||||
public string $mediaType,
|
||||
public ?string $imdbId = "",
|
||||
public ?string $tvdbId = "",
|
||||
public ?string $title = "",
|
||||
public ?string $poster = "",
|
||||
public ?string $description = "",
|
||||
public ?string $year = "",
|
||||
public ?string $mediaType = "",
|
||||
public ?array $episodes = null,
|
||||
) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user