<?php namespace App\Controller; use App\Response\ApiResponse; use App\Service\Action\ActionServiceInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface; use Symfony\Component\Routing\Attribute\Route; #[Route('/api', name: 'api_')] class AuthController extends AbstractController { #[Route('/register', name: 'register', methods: ['POST'])] public function register( ActionServiceInterface $registerService ): JsonResponse { return $registerService->getResponse(); } }