for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
/**
* /src/Controller/IndexController.php
*
* @author TLe, Tarmo Leppänen <[email protected]>
*/
namespace App\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Throwable;
* Class IndexController
* @package App\Controller
class IndexController
{
* Default application response when requested root.
* @Route(
* path="/",
* methods={"GET"}
* )
* @throws Throwable
public function __invoke(): Response
return new Response('', Response::HTTP_OK);
}