https://g.co/gemini/share/c319d92dfeac
// src/Entity/User.php
namespace App\Entity;
use Symfony\Component\Validator\Constraints as Assert;
class User
{
#[Assert\Locale(
canonicalize: true,
)]
protected string $locale;
}Powered by Froala Editor