bundles/AdminBundle/Controller/Web/DefaultController.php line 43

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * Controller.php File.
  5. * This file is part of the Payment.net Project.
  6. *
  7. * PHP version 5
  8. *
  9. * @category Admin
  10. * @package Bdm\AdminBundle\Controller
  11. * @author Helen Tochko <htochko@bdmultimedia.fr>
  12. * @link http://www.payment.net/
  13. *
  14. * FEATURES :
  15. * ==========
  16. * Controller for admin dashboard
  17. *
  18. * TODO-LIST :
  19. * ===========
  20. *
  21. * HISTORY :
  22. * =========
  23. * 20150317 - Helen Tochko: creating di class
  24. *
  25. **/
  26. namespace Bdm\AdminBundle\Controller\Web;
  27. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  28. use Symfony\Component\HttpFoundation\Response;
  29. /**
  30. * Class DefaultController
  31. */
  32. class DefaultController extends AbstractController
  33. {
  34. /**
  35. * Admin back office page
  36. *
  37. * @return Response
  38. */
  39. public function indexAction()
  40. {
  41. return $this->render('@BdmAdmin/Default/index.html.twig');
  42. }
  43. }