chore: makes better use of symfony denormalizer

This commit is contained in:
2025-09-08 14:20:33 -05:00
parent c0f1473037
commit b42924048f
17 changed files with 449 additions and 237 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Tmdb\Dto;
use Symfony\Component\Serializer\Attribute\SerializedPath;
class CastMemberDto
{
public function __construct(
#[SerializedPath('[name]')]
public string $name,
) {}
public function __toString(): string
{
return $this->name;
}
}