From fad7d3df404bbdcc5332f705a55c318dcab20928 Mon Sep 17 00:00:00 2001 From: Sergio Mendolia Date: Mon, 22 Jan 2024 17:27:27 +0100 Subject: [PATCH] use esrb ratings for age --- src/Entity/User.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Entity/User.php b/src/Entity/User.php index 80067008..cd090f1c 100644 --- a/src/Entity/User.php +++ b/src/Entity/User.php @@ -15,10 +15,11 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface { public const AGE_CATEGORIES = [ - '0-10 ans' => '1', - '11-15 ans' => '3', - '16-18 ans' => '4', - '18 ans et+' => '5', + 'E (Everyone)' => '1', + 'E10+ (10 and more)' => '2', + 'T (13 and more)' => '3', + 'M (17 and more)' => '4', + 'A (Adults only)' => '5', ]; #[ORM\Id] #[ORM\GeneratedValue]