|
@@ -5,7 +5,6 @@ namespace App\Controller;
|
|
|
use App\Entity\Commentaire;
|
|
|
use App\Entity\Realisateur;
|
|
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted;
|
|
|
-use Symfony\Component\Security\Core\Security;
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
@@ -21,6 +20,7 @@ use App\Service\CommentaireManager;
|
|
|
use App\Service\FilmManager;
|
|
|
use App\Service\OptionsManager;
|
|
|
use App\Service\TmdbApiService;
|
|
|
+use Symfony\Bundle\SecurityBundle\Security;
|
|
|
use Symfony\Component\Form\FormFactoryInterface;
|
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
|
use Symfony\Component\Serializer\SerializerInterface;
|