dockerize project #3
17
src/Controller/test.php
Normal file
17
src/Controller/test.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Attribute\Route;
|
||||
|
||||
class test extends AbstractController
|
||||
{
|
||||
#[Route(path: '/test', name: 'app_test', methods: Request::METHOD_GET)]
|
||||
public function test(): Response
|
||||
{
|
||||
return new Response('test');
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user