feat: search results

This commit is contained in:
2025-04-20 23:47:12 -05:00
parent a4ad43cfe0
commit f5552e3ad7
20 changed files with 796 additions and 113 deletions

View File

@@ -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,
) {}
}