src/Controller/PagesController.php line 22
<?phpnamespace App\Controller;use App\Entity\JobOpening;use Doctrine\Persistence\ManagerRegistry;use Symfony\Component\HttpFoundation\Request;use Symfony\Component\HttpFoundation\Response;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;class PagesController extends AbstractController{public function index(): Response {return $this->render('pages/index.html.twig');}public function about_us(): Response {return $this->render('pages/about-us.html.twig');}public function providers(): Response {return $this->render('pages/providers.html.twig');}public function why_choose_wsgi(): Response {return $this->render('pages/why-choose-wsgi.html.twig');}public function leadership_team(): Response {return $this->render('pages/leadership-team.html.twig');}public function contact(Request $request): Response {if($request->isMethod('post')) {$success = true;}return $this->render('pages/contact.html.twig', ['success' => $success ?? false]);}public function login(): Response {return $this->render('pages/login.html.twig');}}