make controller
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
added 9 commits
-
f205f644 - 1 commit from branch
main
- 9d38d459 - create interfaces | create VlidationService
- a430fd5a - create prices model sort action and controller
- 2b3fa047 - sumplify solution
- 4ebf14ce - symplify controller
- b0fd1077 - rm manula http status init in response
- 295a6342 - rm useles use
- 31431e3c - make controller
- 106913cf - add reader action and controller
Toggle commit list-
f205f644 - 1 commit from branch
- src/Controller/ReadLogFileController.php 0 → 100644
4 use App\Actions\ReadLogFileAction; 5 use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; 6 use Symfony\Component\HttpFoundation\Response; 7 use Symfony\Component\Routing\Attribute\Route; 8 9 class ReadLogFileController extends AbstractController 10 { 11 /** 12 * Принимает путь до файла, 13 * проверяет, что файл существует и выводит пользователю весь контент файла 14 * (файл можешь создать любой) 15 * 16 * @param string $filePath путь до файла 17 * @return Response */ 18 #[Route('/read/{filePath}', name: 'app_read_log_file', methods: ['GET'])] 19 public function index(string $filePath, ReadLogFileAction $action): Response changed this line in version 6 of the diff
mentioned in commit a817a270
Please register or sign in to reply