From caf6e82fc524916bdd677e9193f2e7246e4b34f4 Mon Sep 17 00:00:00 2001 From: cherednik Date: Wed, 18 Sep 2024 12:22:23 +0400 Subject: [PATCH] =?UTF-8?q?TD-314:=20[BACK].=20[=D1=80=D0=B5=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D1=81=D0=B5=D1=80?= =?UTF-8?q?=D0=B2=D0=B8=D1=81=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D0=BE=D0=B4?= =?UTF-8?q?=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BE=D0=BA?= =?UTF-8?q?=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=BE=D0=B2=20=D0=B2=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=BD=D1=82=D0=B5=D0=B9=D0=BD=D0=B5=D1=80=D0=B5=20signer?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/Controller/SignController.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/backend/src/Controller/SignController.php b/backend/src/Controller/SignController.php index 7a28853..129a91d 100644 --- a/backend/src/Controller/SignController.php +++ b/backend/src/Controller/SignController.php @@ -4,10 +4,15 @@ declare(strict_types=1); namespace App\Controller; -use GuzzleHttp\Client; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; +use Symfony\Component\Routing\Annotation\Route; +use Symfony\Component\HttpFoundation\Response; class SignController extends AbstractController { - + #[Route(path: '/test', name: 'app.test')] + public function __invoke(): Response + { + return new Response('test123'); + } } \ No newline at end of file