|
@@ -4,7 +4,6 @@ namespace App\Controller;
|
|
|
|
|
|
use App\Entity\Commentaire;
|
|
|
use App\Entity\Realisateur;
|
|
|
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted;
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
@@ -15,7 +14,6 @@ use App\Form\FilmType;
|
|
|
use App\Repository\CommentaireRepository;
|
|
|
use App\Repository\FilmRepository;
|
|
|
use App\Repository\GenreRepository;
|
|
|
-use App\Repository\MediaVideoRepository;
|
|
|
use App\Repository\RealisateurRepository;
|
|
|
use App\Service\CommentaireManager;
|
|
|
use App\Service\FilmManager;
|
|
@@ -24,6 +22,7 @@ use App\Service\TmdbApiService;
|
|
|
use Symfony\Bundle\SecurityBundle\Security;
|
|
|
use Symfony\Component\Form\FormFactoryInterface;
|
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
|
+use Symfony\Component\Security\Http\Attribute\IsGranted;
|
|
|
use Symfony\Component\Serializer\SerializerInterface;
|
|
|
|
|
|
class VideothequeController extends AbstractController
|