src/Controller/Bikers/HomePageController.php line 27

Open in your IDE?
  1. <?php
  2. namespace BitBag\OpenMarketplace\Controller\Bikers;
  3. use BitBag\OpenMarketplace\Entity\Vendor;
  4. use Sylius\Component\Customer\Context\CustomerContextInterface;
  5. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  6. use Symfony\Component\HttpFoundation\Cookie;
  7. use Symfony\Component\HttpFoundation\RedirectResponse;
  8. use Symfony\Component\HttpFoundation\Request;
  9. use Symfony\Component\HttpFoundation\Response;
  10. use Symfony\Component\Templating\EngineInterface;
  11. use Twig\Environment;
  12. final class HomePageController extends AbstractController
  13. {
  14. //    public function __construct(private CustomerContextInterface $customerContext)
  15. //    {
  16. //    }
  17.     public function indexAction(Request $request): Response
  18.     {
  19. //        $customer = $this->customerContext->getCustomer();
  20. //        dd($this);
  21.          return $this->render('@SyliusShop/Homepage/index.html.twig');
  22.     }
  23. }