<?php

namespace App\Controller;

use App\Entity\Entry;
use App\Entity\Label;
use App\Entity\Log;
use App\Form\SearchStringType;
use App\Manager\LabelManager;
use App\Repository\EntryRepository;
use Doctrine\Persistence\ManagerRegistry;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;

/**
 * @Route("/wiktionnary")
 */
class WiktionnaryController extends AppBaseController
{
    /**
     * PAS UTILISÉ
     *
     * @Route("/{id}/show", name="app_wiktionnary_show", requirements={"id" = "\d+"})
     */
    public function show(LabelManager $labelManager, Request $request, Entry $entry)
    {

        return $this->render('entry/show.html.twig', array(
            'entry' => $entry,
        ));
    }

}