feat: new Discover section shows watch providers for results
This commit is contained in:
18
src/Twig/Components/PosterContainer.php
Normal file
18
src/Twig/Components/PosterContainer.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Twig\Components;
|
||||
|
||||
use Aimeos\Map;
|
||||
use Symfony\UX\TwigComponent\Attribute\AsTwigComponent;
|
||||
|
||||
#[AsTwigComponent]
|
||||
final class PosterContainer
|
||||
{
|
||||
public array|Map $media;
|
||||
public string $mediaType;
|
||||
public ?string $genreId = null;
|
||||
public ?string $genre = null;
|
||||
|
||||
// Only show 6 results and a 'more' button
|
||||
public bool $tease = true;
|
||||
}
|
||||
Reference in New Issue
Block a user