Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenManagerInterface; use Symfony\Component\Security\Core\Authentication\Token\Storage
Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpKernel\Event\GetResponseEvent; use Symfony\Component\HttpFoundation\Session\Session; class RedirectionListener { public function __construct(ContainerInterface $container, Sesssion $session
Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; class ProjectController extends BaseController { protected function listAction($className, $params = array()) { return array_merge(array( 'title' => 'title.' . $className . '.list', 'pagetitle' => 'title.' . $className
symfony. J'ai d'abord installé git, composer.phar, composer.bat puis je suis les lignes de commandes : php -r "readfile('http://symfony.com/installer');" > symfony et $ symfony new my_project sauf que j'ai cette
Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Doctrine\ORM\EntityRepository; use CUDS\DecodageBundle\Entity\Fichier_Decode; use CUDS\DecodageBundle\Form\Fichier
Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Annotation\Route; use App\Form\LibelleFormType; use App\Entity\Libelle; class LibelleController extends AbstractController { /** * @Route("/libelle
Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\Security\Http\Authentication\AuthenticationUtils; class LoginController extends BaseController { /** * @Route("/", name="login") */ public function index(AuthenticationUtils $authenticationUtils): Response
Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\HttpFoundation\Session\Session; class DateController extends AbstractController { /** * @Route("/date", name="date
Symfony (qui tournait très bien sur mon ancien pc). J'ai migré le repository, je lance la commande ```symfony serve``` et rien ne se passe quand je me rends sur mon navigateur
Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use Twig\Environment; class HomeController extends AbstractController { /** * @Route("/",name="home") * return Response */ public function