Ported ApiController.

This commit is contained in:
Alexey Skobkin 2023-04-01 19:57:27 +03:00
parent a83b783de4
commit 0c48b57710
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -1,13 +1,12 @@
<?php
declare(strict_types=1);
namespace src\PointToolsBundle\Controller;
namespace App\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use src\PointToolsBundle\Entity\User;
use src\PointToolsBundle\Entity\{SubscriptionEvent};
use src\PointToolsBundle\Repository\SubscriptionEventRepository;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Response;
use App\Entity\{SubscriptionEvent, User};
use App\Repository\SubscriptionEventRepository;
use Symfony\Component\HttpFoundation\{JsonResponse, Response};
class ApiController
{