src/Controller/Pages/Register/RegisterController.php line 19

Open in your IDE?
  1. <?php
  2. namespace App\Controller\Pages\Register;
  3. use App\Controller\Common\PagesController;
  4. use App\Exception\NotFoundException;
  5. use App\Service\Company\CompanyUserService;
  6. use App\Service\Login\LoginService;
  7. use Symfony\Component\Routing\Annotation\Route;
  8. class RegisterController extends PagesController
  9. {
  10.     /**
  11.      * @Route("/register")
  12.      * @return \Symfony\Component\HttpFoundation\Response
  13.      */
  14.     public function registerPage()
  15.     {
  16.         return $this->render('register/company-register.html.twig');
  17.     }
  18.     /**
  19.      * @Route("/register-company-success")
  20.      * @return \Symfony\Component\HttpFoundation\Response
  21.      */
  22.     public function registerSuccessPage()
  23.     {
  24.         return $this->render('register/company-register-success.html.twig');
  25.     }
  26. }