Skip to content

Instantly share code, notes, and snippets.

View Enz000's full-sized avatar
👋

Enzo Santamaria Enz000

👋
View GitHub Profile
@soyuka
soyuka / UserIdentitiferNormalizer.php
Last active August 10, 2023 21:49
Me route ApiPlatform
<?php
namespace App\Identifier;
use App\Entity\User;
use Ramsey\Uuid\UuidInterface;
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
use Symfony\Component\Security\Core\Security;
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;