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
1 changed files with 5 additions and 6 deletions

View File

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